tor-browser

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

units-004.xht (1292B)


      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" lang="en">
      3  <head>
      4   <title>CSS Test: Units: ex</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-06-29 -->
      7   <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/units/004.html" type="text/html"/>
      8   <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#length-units" />
      9   <link rel="help" href="https://www.w3.org/TR/css-values-3/#font-relative-lengths" />
     10   <link rel="match" href="units-004-ref.xht" />
     11 
     12   <meta name="flags" content="ahem" />
     13 
     14   <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     15   <style type="text/css">
     16    .test { font: 20px/1 Ahem; min-width: 200px; min-height: 200px; background: red; float: left; }
     17    .em { width: 10em; height: 5em; background: green; }
     18    .ex { width: 12.5ex; height: 6.25ex; background: green; }
     19   </style>
     20  </head>
     21  <body>
     22   <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     23   <div class="test">
     24    <div class="em"></div>
     25    <div class="ex"></div>
     26   </div>
     27  </body>
     28 </html>