tor-browser

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

font-variant-alternates-01.html (1237B)


      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-alternates: normal; low level equivalence</title>
      5 <link rel="author" title="Chris Lilley" href="chris@w3.org">
      6 <link rel="match" href="font-variant-alternates-01-ref.html">
      7 <link rel="help" href="https://www.w3.org/TR/css-fonts-4/#font-variant-alternates-prop">
      8 <link rel="help" href="https://www.w3.org/TR/css-fonts-4/#font-feature-settings-prop">
      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: 2em;
     18   line-height: 1.1;
     19  }
     20  .high {
     21  font-variant-alternates: normal;
     22  }
     23  .low {
     24   font-feature-settings: "hist" off, "salt" 00, "ss01" off, "ss02" off, "ss03" off,
     25    "cv01" off, "cv02" off, "cv03" off,  "swsh" 00, "cswh" 00, "ornm" 00, "nalt" 00;
     26  }
     27 
     28 </style>
     29 <body>
     30 
     31 <p>Test passes if the three lines below are identical, with twenty crosses (✗).</p>
     32 <section class="test">
     33  <p class="high">Xnophijklmqrstuvwxyz</p>
     34  <p class="low">Xnophijklmqrstuvwxyz</p>
     35  <p class="ref">BBBBBBBBBBBBBBBBBBBB</p>
     36 </section>