tor-browser

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

shaping-join-001.html (1475B)


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