tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

collapsing-table-borders-008.xht (1522B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      2 <html xmlns="http://www.w3.org/1999/xhtml">
      3     <head>
      4         <title>CSS Test: Part of a column border can be specified</title>
      5         <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
      6         <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#collapsing-borders" />
      7         <meta name="assert" content="The border of a specific table column can be specified under the collapsing border model." />
      8         <style type="text/css">
      9             table
     10             {
     11                 border-collapse: collapse;
     12             }
     13             td
     14             {
     15                 border: 1px solid black;
     16                 height: 50px;
     17                 width: 50px;
     18             }
     19             #col
     20             {
     21                 border-top: 10px solid blue;
     22             }
     23         </style>
     24     </head>
     25     <body>
     26         <p>Test passes if there is a blue border across the top of the middle column in the three-by-three table below.</p>
     27         <table>
     28             <col />
     29             <col id="col" />
     30             <col />
     31             <tr>
     32                 <td></td>
     33                 <td></td>
     34                 <td></td>
     35             </tr>
     36             <tr>
     37                 <td></td>
     38                 <td></td>
     39                 <td></td>
     40             </tr>
     41             <tr>
     42                 <td></td>
     43                 <td></td>
     44                 <td></td>
     45             </tr>
     46         </table>
     47     </body>
     48 </html>