tor-browser

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

metrics-override-normal-keyword.html (980B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <link rel="author" href="mailto:xiaochengh@chromium.org">
      4 <link rel="help" href="https://drafts.csswg.org/css-fonts-4/#font-metrics-override-desc">
      5 <link rel="match" href="metrics-override-normal-keyword-ref.html">
      6 <title>Tests the 'normal' keyword on descriptors ascent-override, descent-override and line-gap-override</title>
      7 <style>
      8 @font-face {
      9  font-family: ascent-font;
     10  src: local(Ahem), url(/fonts/Ahem.ttf);
     11  ascent-override: 50%;
     12  ascent-override: normal;
     13 }
     14 
     15 @font-face {
     16  font-family: descent-font;
     17  src: local(Ahem), url(/fonts/Ahem.ttf);
     18  descent-override: 50%;
     19  descent-override: normal;
     20 }
     21 
     22 @font-face {
     23  font-family: line-gap-font;
     24  src: local(Ahem), url(/fonts/Ahem.ttf);
     25  line-gap-override: 50%;
     26  line-gap-override: normal;
     27 }
     28 </style>
     29 
     30 <div style="font-family: ascent-font">Test<br>Test</div>
     31 
     32 <div style="font-family: descent-font">Test<br>Test</div>
     33 
     34 <div style="font-family: line-gap-font">Test<br>Test</div>