tor-browser

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

table-organization-001.xht (1860B)


      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: Table organization (columns in column groups)</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#tables-intro" />
      7         <meta name="assert" content="Table columns can be grouped into table column groups." />
      8         <style type="text/css">
      9             table
     10             {
     11                 border: 1px solid black;
     12             }
     13             #cg1
     14             {
     15                 background: blue;
     16             }
     17             #cg2
     18             {
     19                 background: purple;
     20             }
     21             td
     22             {
     23                 height: 2em;
     24                 width: 2em;
     25             }
     26         </style>
     27     </head>
     28     <body>
     29         <p>Test passes if the table below has two blue columns on the left and two purple columns on the right.</p>
     30         <table>
     31             <colgroup id="cg1">
     32                 <col />
     33                 <col />
     34             </colgroup>
     35             <colgroup id="cg2">
     36                 <col />
     37                 <col />
     38             </colgroup>
     39             <tr>
     40                 <td></td>
     41                 <td></td>
     42                 <td></td>
     43                 <td></td>
     44             </tr>
     45             <tr>
     46                 <td></td>
     47                 <td></td>
     48                 <td></td>
     49                 <td></td>
     50             </tr>
     51             <tr>
     52                 <td></td>
     53                 <td></td>
     54                 <td></td>
     55                 <td></td>
     56             </tr>
     57             <tr>
     58                 <td></td>
     59                 <td></td>
     60                 <td></td>
     61                 <td></td>
     62             </tr>
     63         </table>
     64     </body>
     65  </html>