tor-browser

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

table-layout-initial-001.xht (1752B)


      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: Initial value of table-layout</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#propdef-table-layout" />
      7         <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#width-layout" />
      8         <meta name="flags" content="ahem" />
      9         <meta name="assert" content="The initial value of table-layout is 'auto'." />
     10         <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     11         <style type="text/css">
     12             table
     13             {
     14                 background: black;
     15                 border-spacing: 0;
     16                 width: 10em;
     17             }
     18             colgroup
     19             {
     20                 width: 5em;
     21             }
     22             td
     23             {
     24                 overflow: hidden;
     25                 padding: 0;
     26             }
     27             #div1
     28             {
     29                 background: blue;
     30                 height: 2em;
     31                 width: 20em;
     32             }
     33             td, #div1
     34             {
     35                 font: 20px/1em Ahem;
     36             }
     37         </style>
     38     </head>
     39     <body>
     40         <p>Test passes if the black bar is at least as wide as the blue bar.</p>
     41         <table>
     42             <colgroup></colgroup>
     43             <colgroup></colgroup>
     44             <tr>
     45                 <td>XXXXX</td>
     46                 <td>XXXXX</td>
     47             </tr>
     48             <tr>
     49                <td>XXXXXXXXX0</td>
     50                <td>XXXXXXXXX0</td>
     51             </tr>
     52         </table>
     53         <div id="div1"></div>
     54     </body>
     55 </html>