tor-browser

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

fixed-table-layout-007-vrl.html (1615B)


      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-rl; }
     12            table
     13            {
     14                border-spacing: 0;
     15                table-layout: fixed;
     16            }
     17            td
     18            {
     19                background: blue;
     20                padding: 0;
     21                height: 50px;
     22                width: 24px;
     23                color: blue;
     24            }
     25            #div1
     26            {
     27                background: black;
     28                width: 24px;
     29            }
     30            #div1, table
     31            {
     32                height: 200px;
     33            }
     34        </style>
     35    </head>
     36    <body>
     37      <p>Test passes if the boxes below are the same height.</p>
     38      <div class="test">
     39        <table>
     40            <tr>
     41                <td>X</td>
     42                <td>X</td>
     43            </tr>
     44        </table>
     45        <div id="div1"></div>
     46      </div>
     47    </body>
     48 </html>