tor-browser

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

fixed-table-layout-016-vlr.html (1691B)


      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' (sum of columns' heights 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 the sum of its columns' heights if that number is greater than the table's specified height.">
     10        <style type="text/css">
     11            div.test
     12            {
     13                writing-mode: vertical-lr;
     14            }
     15            table
     16            {
     17                border-spacing: 0;
     18                table-layout: fixed;
     19                height: 75px;
     20            }
     21            td
     22            {
     23                background: black;
     24                padding: 0;
     25                height: 25px;
     26            }
     27            #div1
     28            {
     29                background: blue;
     30                height: 100px;
     31            }
     32            #div1, td
     33            {
     34                width: 24px;
     35            }
     36        </style>
     37    </head>
     38    <body>
     39     <p>Test passes if the boxes below are the same height.</p>
     40     <div class="test">
     41        <table>
     42            <tr>
     43                <td></td>
     44                <td></td>
     45                <td></td>
     46                <td></td>
     47            </tr>
     48        </table>
     49        <div id="div1"></div>
     50      </div>
     51    </body>
     52 </html>