tor-browser

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

table-visual-layout-009.xht (1769B)


      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: Column group boxes occupy same cells as the columns they contain</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#table-layout" />
      7         <meta name="assert" content="A column group box occupies the same cells as the columns it contains." />
      8         <style type="text/css">
      9             #black
     10             {
     11                 background: blue;
     12             }
     13             td
     14             {
     15                 border: 1px solid black;
     16                 height: 2em;
     17                 width: 2em;
     18             }
     19         </style>
     20     </head>
     21     <body>
     22         <p>Test passes if the middle two columns in the table are blue.</p>
     23         <table>
     24             <colgroup>
     25                 <col />
     26             </colgroup>
     27             <colgroup id="black">
     28                 <col />
     29                 <col />
     30             </colgroup>
     31             <colgroup>
     32                 <col />
     33             </colgroup>
     34             <tr>
     35                 <td></td>
     36                 <td></td>
     37                 <td></td>
     38                 <td></td>
     39             </tr>
     40             <tr>
     41                 <td></td>
     42                 <td></td>
     43                 <td></td>
     44                 <td></td>
     45             </tr>
     46             <tr>
     47                 <td></td>
     48                 <td></td>
     49                 <td></td>
     50                 <td></td>
     51             </tr>
     52             <tr>
     53                 <td></td>
     54                 <td></td>
     55                 <td></td>
     56                 <td></td>
     57             </tr>
     58         </table>
     59     </body>
     60 </html>