tor-browser

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

font-synthesis-06.html (738B)


      1 <!doctype html>
      2 <meta charset=utf-8>
      3 <title>CSS Test: 'font-synthesis:none' with a font that support small-caps</title>
      4 <link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.com">
      5 <link rel="help" href="https://drafts.csswg.org/css-fonts/#font-synthesis">
      6 <link rel="match" href="font-synthesis-06-ref.html">
      7 <meta name="assert" content="font-synthesis:none should not affect a font that supports small-caps">
      8 <style>
      9  @font-face {
     10    font-family: fwf;
     11    src: url(support/fonts/FontWithFancyFeatures.otf);
     12  }
     13  .test {
     14     font: 2em/1 fwf;
     15     font-variant: small-caps;
     16     font-synthesis: none;
     17  }
     18 </style>
     19 
     20 <p>Test passes if there are four check marks (✓), and zero crosses (✗). </p>
     21 <p class="test">JJJ J</p>