tor-browser

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

fixed-table-layout-012-vlr.html (1736B)


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