tor-browser

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

font-default-04-a-ref.html (992B)


      1 <!DOCTYPE html>
      2 <html lang="en">
      3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
      4 <title>CSS Test:  font default features</title>
      5 <link rel="author" title="Chris Lilley" href="chris@w3.org">
      6 <meta name="assert" content="For upright text within vertical text runs, vertical alternates (OpenType feature: vert) must be enabled">
      7 <style>
      8  @font-face {
      9    font-family: fwf;
     10    src: url(support/fonts/FontWithFancyFeatures.otf);
     11  }
     12  .tests {
     13   font-family: fwf;
     14   font-size: 4em;
     15   line-height: 1.1;
     16    writing-mode: vertical-rl;
     17    text-orientation: upright;
     18    color: green;
     19  }
     20  .default {
     21    color: purple;
     22  }
     23 </style>
     24 
     25 <body>
     26 <p>Test passes if the first <em>vertical</em> line (in purple) has <em>at least one</em> check mark
     27 and the next two  lines (in green) are identical, with two check marks (✓).</p>
     28 <section class="tests">
     29  <p class="default">AB</p>
     30 <p><span class="test1">A</span><span class="test2">A</span></p>
     31 <p class="ref">AA</p>
     32 </section>