tor-browser

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

height-applies-to-014.xht (1553B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      2 <html xmlns="http://www.w3.org/1999/xhtml">
      3     <head>
      4         <title>CSS Test: Height applied to elements with 'display' set to 'inline-table'</title>
      5         <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
      6 		<link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-10-08 -->
      7         <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#propdef-height" />
      8         <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#the-height-property" />
      9 		<link rel="match" href="../reference/ref-filled-black-96px-square.xht" />
     10 
     11         <meta name="assert" content="The 'height' property applies to elements with 'display' set to 'inline-table'." />
     12         <style type="text/css">
     13             #table
     14             {
     15                 display: inline-table;
     16                 height: 1in;
     17                 table-layout: fixed;
     18                 vertical-align: top;
     19                 width: 1in;
     20             }
     21             #row
     22             {
     23                 display: table-row;
     24             }
     25             #cell
     26             {
     27                 background: black;
     28                 display: table-cell;
     29             }
     30         </style>
     31     </head>
     32     <body>
     33         <p>Test passes if there is a filled black square.</p>
     34         <div id="table">
     35             <div id="row">
     36                 <div id="cell"></div>
     37             </div>
     38         </div>
     39     </body>
     40 </html>