tor-browser

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

font-size-adjust-001.html (1059B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Fonts Test: font-size-adjust - greater than aspect value of font</title>
      4 <link rel="author" title="Intel" href="http://www.intel.com/">
      5 <link rel="author" title="Shiyou Tan" href="mailto:shiyoux.tan@intel.com">
      6 <link rel="help" title="3.6 Relative sizing: the font-size-adjust property" href="http://www.w3.org/TR/css-fonts-3/#font-size-adjust-prop">
      7 <meta name="flags" content="Ahem">
      8 <meta name="assert" content="Test checks that the actual font size is greater than the specified size when the value of font-size-adjust
      9 is greater than the aspect value of font">
     10 <link rel="match" href="font-size-adjust-001-ref.html">
     11 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     12 <style>
     13  div {
     14    position: absolute;
     15    font: 40px/40px Ahem;
     16    color: orange;
     17  }
     18  #test {
     19    color: blue;
     20    font-size-adjust: 0.9;
     21  }
     22 </style>
     23 <body>
     24  <p>Test passes if the size of the blue rectangle is greater than the orange rectangle.</p>
     25  <div id="test">FillerText</div>
     26  <div>FillerText</div>
     27 </body>