tor-browser

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

fixed-table-layout-002-vlr.html (1704B)


      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: Value other than 'auto' for column height sets height of cells in the column</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 column element with a value other than 'auto' for the 'height' property sets the height for the column of cells it contains.">
     10        <style type="text/css">
     11            .test { writing-mode: vertical-lr; }
     12            table
     13            {
     14                border-collapse: collapse;
     15                table-layout: fixed;
     16                height: 200px;
     17            }
     18            #col
     19            {
     20                height: 100px;
     21            }
     22            td
     23            {
     24                padding: 0;
     25                width: 24px;
     26            }
     27            #cell
     28            {
     29                background: black;
     30            }
     31            #div1
     32            {
     33                background: blue;
     34                width: 24px;
     35                height: 100px;
     36            }
     37        </style>
     38    </head>
     39    <body>
     40      <p>Test passes if the boxes below are the same height.</p>
     41      <div class="test">
     42        <table>
     43            <col id="col">
     44            <col>
     45            <tr>
     46                <td id="cell">X</td>
     47                <td></td>
     48           </tr>
     49        </table>
     50        <div id="div1"></div>
     51      </div>
     52    </body>
     53 </html>