tor-browser

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

font-size-121.xht (1564B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
      2 <html xmlns="http://www.w3.org/1999/xhtml">
      3  <head>
      4   <title>CSS Test: CSS: sanity tests for relative keyword values of font-size</title>
      5   <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
      6   <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/fonts/size/003.xml" type="application/xhtml+xml"/>
      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   <link rel="match" href="font-size-121-ref.xht" />
     10 
     11   <meta name="flags" content="ahem" />
     12   <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     13   <style type="text/css"><![CDATA[
     14 
     15     .tests { display: block; padding: 2em; font: 900 1em Ahem, Verdana, sans-serif; }
     16     .tests > * { position: absolute; color: red; }
     17     .tests > * + * { color: green; }
     18 
     19     .smallest span { font-size: larger; }
     20     .largest span { font-size: smaller; }
     21 
     22     .smallest { font-size: xx-small; }
     23     .largest { font-size: xx-large; }
     24 
     25     .tests * { vertical-align: bottom; }
     26 
     27   ]]></style>
     28  </head>
     29  <body>
     30   <p>Test passes if there is <strong>no red</strong>, except for antialiasing issues.</p>
     31   <div class="tests">
     32    <span class="smallest">X<span>X<span>X<span>X<span>X<span>X<span>X</span></span></span></span></span></span></span>
     33    <span class="largest"><span><span><span><span><span><span>X</span>X</span>X</span>X</span>X</span>X</span>X</span>
     34   </div>
     35  </body>
     36 </html>