tor-browser

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

font-variant-ligatures-11.optional.html (1385B)


      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-ligatures: none is not equivalent to rlig off.</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-ligatures-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-ligatures-11-ref.html">
      9 <meta name="assert" content="Required ligatures, needed for correctly rendering complex scripts, are not affected by the settings above, including ‘none’ (OpenType feature: rlig). Note: platforms are not required to allow disabling rlig.">
     10 <style>
     11 .test {
     12 	font-family: serif;
     13 	font-size: 3em;
     14 	line-height: 1.1;
     15 }
     16 .high {
     17 	font-variant-ligatures: none;
     18 }
     19 .low {
     20 	font-feature-settings: "rlig" off;
     21 }
     22 .test :lang(ar) {
     23 	font-family: serif;
     24 }
     25 </style>
     26 <body>
     27 <p>Test passes if the first line shows a lam-alef ligature (<span lang="ar">لا</span>)
     28 and the second shows an initial lam, final alef (<span lang="ar">&#xFEDF;&zwnj;&#xFE8E;</span>)
     29 which is <em>normally incorrect</em>.</p>
     30 <!-- presentation forms used here to show the unligated forms -->
     31 <section class="test">
     32 <p class="high"><span lang="ar">لا</span> </p>
     33 <p class="low"><span lang="ar">لا</span></p>
     34 </section>