tor-browser

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

font-feature-settings-descriptor-02.html (939B)


      1 <!DOCTYPE html>
      2 <html lang="en">
      3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
      4 <title>CSS Test: font-feature-settings descriptor</title>
      5 <link rel="author" title="Sejal Anand" href="mailto:sejalanand@microsoft.com">
      6 <link rel="help" href="https://www.w3.org/TR/css-fonts-3/#font-feature-settings-prop">
      7 <link rel="match" href="font-feature-settings-descriptor-02-ref.html">
      8 <meta name="assert" content="Ligature features should be handled with font-feature-settings defined as font-face rule.">
      9 <style>
     10  @font-face {
     11    font-family: "liga";
     12    src: url('support/fonts/LigatureSymbolsWithSpaces.woff');
     13    font-feature-settings: "liga" off;
     14  }
     15  .ligaOFF {
     16    font-family: liga;
     17  }
     18 </style>
     19 <body>
     20 <p>Test passes if below line does not have a graph symbol.</p>
     21 <div class="ligaOFF">
     22  <span>This paragraph demonstrates the liga descriptor disabled through the @font-face rule.</span>
     23 </div>
     24 </body>
     25 </html>