tor-browser

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

font-size-applies-to-009.xht (1818B)


      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: table-header-group' 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: table-header-group' 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: table;
     27             }
     28             #test
     29             {
     30                 display: table-header-group;
     31                 font-size: 1in;
     32             }
     33             #row
     34             {
     35                 display: table-row;
     36             }
     37             #cell
     38             {
     39                 display: table-cell;
     40             }
     41         </style>
     42     </head>
     43     <body>
     44         <p>Test passes if the boxes below are the same size.</p>
     45         <div id="div1"></div>
     46         <div id="table">
     47             <div id="test">
     48                 <div id="row">
     49                     <div id="cell">X</div>
     50                 </div>
     51             </div>
     52         </div>
     53     </body>
     54 </html>