tor-browser

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

shaping-tatweel-001.html (1476B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Text level 3 Test: tatweel and text-shaping</title>
      4 <link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
      5 <link rel="help" href="https://drafts.csswg.org/css-text-3/#text-encoding">
      6 <link rel="help" href="https://www.unicode.org/versions/Unicode11.0.0/ch09.pdf">
      7 <link rel="help" href="https://www.w3.org/TR/alreq/#h_joining_enforcement">
      8 <link rel="match" href="reference/shaping-tatweel-001-ref.html">
      9 <meta name="assert" content="Arabic characters next to a U+0640 ARABIC TATWEEL character must take their correct positional form.">
     10 <style>
     11  table {
     12    font-size: 3em;
     13    border-spacing: 0 3px;
     14  }
     15  td {
     16    padding: 0 0.5ch;
     17    line-height: 1;
     18    border: 1px solid;
     19  }
     20  @font-face {
     21    font-family: 'csstest_noto';
     22    src: url('/fonts/noto/NotoNaskhArabic-regular.woff2') format('woff2');
     23  }
     24  table {
     25    font-family: 'csstest_noto';
     26  }
     27 </style>
     28 
     29 <p>Test passes if both halves of each of the pairs below are identical:
     30 
     31 <table dir=rtl lang=ar>
     32 <tr><!-- alef, final form as it doesn't have a medial form -->
     33  <td>&#x640;&#x0627;&#x640;
     34  <td>&#x640;&#xFE8E;&#x640;
     35 <tr><!-- alef, final form -->
     36  <td>&#x640;&#x0627;
     37  <td>&#x640;&#xFE8E;
     38 <tr><!-- beh, initial form -->
     39  <td>&#x0628;&#x640;
     40  <td>&#xFE91;&#x640;
     41 <tr><!-- beh, medial form -->
     42  <td>&#x640;&#x0628;&#x640;
     43  <td>&#x640;&#xFE92;&#x640;
     44 <tr><!-- beh, final form -->
     45  <td>&#x640;&#x0628;
     46  <td>&#x640;&#xFE90;
     47 </table>