tor-browser

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

font-size-applies-to-007.xht (1663B)


      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: Font-size and 'display: inline-table' elements</title>
      5         <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
      6         <link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#propdef-font-size" />
      7         <link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#font-size-props" />
      8         <link rel="help" href="http://www.w3.org/TR/css-fonts-3/#font-size-prop"/>
      9         <meta name="flags" content="ahem" />
     10         <meta name="assert" content="The 'font-size' property applies to 'display: inline-table' elements." />
     11         <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     12         <style type="text/css">
     13             #div1
     14             {
     15                 background: orange;
     16                 height: 1in;
     17                 width: 1in;
     18             }
     19             div
     20             {
     21                 font-family: Ahem;
     22                 line-height: 1em;
     23             }
     24             #table
     25             {
     26                 display: inline-table;
     27                 font-size: 1in;
     28             }
     29             #row
     30             {
     31                 display: table-row;
     32             }
     33             #cell
     34             {
     35                 display: table-cell;
     36             }
     37         </style>
     38     </head>
     39     <body>
     40         <p>Test passes if the boxes below are the same size.</p>
     41         <div id="div1"></div>
     42         <div id="table">
     43             <div id="row">
     44                 <div id="cell">X</div>
     45             </div>
     46         </div>
     47     </body>
     48 </html>