tor-browser

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

shaping-arabic-diacritics-001-ref.html (876B)


      1 <!DOCTYPE html>
      2 <html lang="en">
      3 <head>
      4 <meta charset="utf-8">
      5 <title>shaping: Arabic diacritics on NBSP - reference</title>
      6 <link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com">
      7 <style type="text/css">
      8 @font-face {
      9    font-family: ArabicTest;
     10    src: url('/fonts/noto/NotoNaskhArabic-regular.woff2') format('woff2');
     11 }
     12 .test {
     13    font: 120px/2 ArabicTest, sans-serif;
     14 }
     15 </style>
     16 </head>
     17 <body>
     18    <p class="instructions">Test passes if the two lines are rendered identically,
     19        with the superscript alef (&#x627;) directly above the raised hamza (&#x621;).</p>
     20    <!-- Order of lines is reversed from the testcase; if they render identically
     21         they should still match perfectly. -->
     22    <div class=test>a<span dir=rtl>&nbsp;&#x670;&#x654;</span>z</div>
     23    <div class=test>a<span dir=rtl>&nbsp;&#x654;&#x670;</span>z</div>
     24 </body>
     25 </html>