tor-browser

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

fixed-table-layout-007-vlr.html (1586B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
      2 <html>
      3    <head>
      4        <title>CSS Test: Fixed table height is maximum between table and sum of column 'height' (table height wins)</title>
      5        <link rel="author" title="Microsoft" href="http://www.microsoft.com/">
      6        <link rel="author" title="Adapted for vertical layout by Simon Montagu" href="http:/mozilla.org/">
      7        <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#fixed-table-layout">
      8        <meta name="flags" content="">
      9        <meta name="assert" content="A fixed layout table's height will be its specified height if that height is greater than the sum of its columns' heights.">
     10        <style type="text/css">
     11            div.test { writing-mode: vertical-lr; }
     12            table
     13            {
     14                border-spacing: 0;
     15                table-layout: fixed;
     16            }
     17            td
     18            {
     19                background: black;
     20                padding: 0;
     21                height: 50px;
     22                width: 24px;
     23            }
     24            #div1
     25            {
     26                background: blue;
     27                width: 24px;
     28            }
     29            #div1, table
     30            {
     31                height: 200px;
     32            }
     33        </style>
     34    </head>
     35    <body>
     36      <p>Test passes if the boxes below are the same height.</p>
     37      <div class="test">
     38        <table>
     39            <tr>
     40                <td>X</td>
     41                <td>X</td>
     42            </tr>
     43        </table>
     44        <div id="div1"></div>
     45      </div>
     46    </body>
     47 </html>