tor-browser

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

font-variant-position-01.html (1158B)


      1 <!DOCTYPE html>
      2 <html lang="en">
      3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
      4 <title>CSS Test:  font-variant-position: normal; low level equivalence</title>
      5 <link rel="author" title="Chris Lilley" href="chris@w3.org">
      6 <link rel="help" href="https://www.w3.org/TR/css-fonts-3/#font-variant-position-prop">
      7 <link rel="help" href="https://www.w3.org/TR/css-fonts-3/#font-feature-settings-prop">
      8 <link rel="match" href="font-variant-position-01-ref.html">
      9 <meta name="assert" content="None of the features listed below are enabled.">
     10 <style>
     11  @font-face {
     12    font-family: fwf;
     13    src: url(support/fonts/FontWithFancyFeatures.otf);
     14  }
     15  .test {
     16   font-family: fwf;
     17   font-size: 3em;
     18   line-height: 1.1;
     19  }
     20  .high {
     21  font-variant-position: normal;
     22  }
     23  .low {
     24 font-feature-settings: "subs" off, "sups" off;
     25  }
     26 </style>
     27 <body>
     28 <p>Test passes if the three lines below are identical, with two crosses (✗)</p>
     29 <!-- spans to force each character to be in a separate run -->
     30 <section class="test">
     31 <p class="high"><span>H</span><span>I</span></p>
     32 <p class="low"><span>H</span><span>I</span></p>
     33 <p class="ref">BB</p>
     34 </section>