tor-browser

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

font-kerning-02.html (1063B)


      1 <!DOCTYPE html>
      2 <html lang="en">
      3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
      4 <title>CSS Test:  font-kerning: normal; low-level equivalence test</title>
      5 <link rel="author" title="Chris Lilley" href="chris@w3.org">
      6 <link rel="match" href="font-kerning-02-ref.html">
      7 <link rel="help" href="https://www.w3.org/TR/css-fonts-3/#font-kerning-prop">
      8 <link rel="help" href="https://www.w3.org/TR/css-fonts-3/#font-feature-settings-prop">
      9 <meta name="assert" content="When kerning is enabled, the OpenType kern feature is 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: 2em;
     18    line-height: 1.1;
     19  }
     20  .high {
     21   font-kerning: normal;
     22  }
     23  .low {
     24   font-feature-settings: "kern" on;
     25  }
     26 
     27 </style>
     28 <body>
     29 
     30 <p>Test passes if the three lines of text below are identical, with one check mark (✓) followed by one cross (✗). </p>
     31 <section class="test">
     32 <p class="high">¿À</p>
     33 <p class="low">¿À</p>
     34 <p class="ref">AB</p>
     35 </section>