tor-browser

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

fixed-table-layout-010-vlr.html (2170B)


      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: Subsequent rows in fixed table layout</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="Cells in subsequent rows after the first do not affect column heights in fixed table layout.">
     10        <style type="text/css">
     11            div.test {
     12                writing-mode: vertical-lr;
     13                text-orientation: sideways-right;
     14            }
     15            table
     16            {
     17                border-spacing: 0;
     18                table-layout: fixed;
     19            }
     20            td
     21            {
     22                background: blue;
     23                color: blue;
     24                padding: 0;
     25                width: 2em;
     26            }
     27            #overflow
     28            {
     29                color: black;
     30                overflow: visible;
     31                white-space: pre;
     32            }
     33            #div1
     34            {
     35                background: black;
     36                width: 2em;
     37            }
     38            table, .row1
     39            {
     40                height: 100px;
     41            }
     42            .row2, #div1
     43            {
     44                height: 200px;
     45            }
     46        </style>
     47    </head>
     48    <body>
     49      <p>Test passes if the boxes below are the same height and the
     50 blue box has the words "Filler Text" in the middle,
     51 overflowing below the box.</p>
     52      <div class="test">
     53        <table>
     54            <tr>
     55                <td class="row1"></td>
     56                <td class="row1"></td>
     57            </tr>
     58            <tr>
     59                <td></td>
     60                <td id="overflow">Filler Text Filler Text Filler Text</td>
     61            </tr>
     62            <tr>
     63                <td class="row2"></td>
     64                <td class="row2"></td>
     65            </tr>
     66        </table>
     67        <div id="div1"></div>
     68      </div>
     69    </body>
     70 </html>