tor-browser

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

font-variant-caps-04.html (1216B)


      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-caps: petite-caps; 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-caps-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-caps-04-ref.html">
      9 <meta name="assert" content="Enables display of small capitals for both upper and lowercase letters (OpenType features: c2sc, smcp)">
     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-caps: petite-caps;
     22  }
     23  .low {
     24   font-feature-settings: "smcp" off, "c2sc" off, "pcap" on, "c2pc" off, "unic" off, "titl" off;
     25  }
     26 .ref {
     27 
     28 }
     29 </style>
     30 <body>
     31 <p>Test passes if the three lines below are identical, with two crosses (✗), one check mark (✓) and three more crosses (✗). </p>
     32 <section class="test">
     33 <p class="high">JKLMNO</p>
     34 <p class="low">JKLMNO</p>
     35 <p class="ref">BBABBB</p>
     36 </section>