tor-browser

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

line-height-125.xht (1199B)


      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: Inheritance of em units</title>
      5   <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
      6   <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-04-14 -->
      7   <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/fonts/line-height/005.html" type="text/html"/>
      8   <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#line-height" />
      9   <link rel="match" href="line-height-125-ref.xht" />
     10 
     11   <style type="text/css">
     12    .fontsize { font-size: 10px; }
     13    .lineheight { line-height: 1em; }
     14    .test { font-size: 50px; width: 200px; padding-top: 10px; }
     15    .fail { color: red; }
     16    .pass { color: white; background: green; padding-top: 10px; }
     17   </style>
     18  </head>
     19  <body>
     20   <p>There should be one word on the line below, clearly saying "pass".</p>
     21   <div class="fontsize">
     22    <div class="lineheight">
     23     <div class="test"><span class="fail">FAIL</span> <span class="pass">PASS</span></div>
     24    </div>
     25   </div>
     26  </body>
     27 </html>