tor-browser

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

numbers-units-021.xht (1335B)


      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: Root element and the 'em' unit size</title>
      5         <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
      6         <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#length-units" />
      7         <link rel="match" href="numbers-units-021-ref.xht"/>
      8         <meta name="flags" content="96dpi ahem" />
      9         <meta name="assert" content="The 'em' unit refers to the property's initial value when specified on the root element." />
     10         <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     11         <style type="text/css">
     12             html
     13             {
     14                 font-family: Ahem;
     15                 font-size: 2em;
     16             }
     17             #div1
     18             {
     19                 background-color: black;
     20                 height: 32px;
     21                 margin-bottom: 2px;
     22                 width: 32px;
     23             }
     24             p
     25             {
     26                 font-family: serif;
     27                 font-size: 0.5em;
     28             }
     29         </style>
     30     </head>
     31     <body>
     32         <p>Test passes if the two boxes below are the same size.</p>
     33         <div id="div1"></div>
     34         <div>X</div>
     35     </body>
     36 </html>