tor-browser

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

shaping-no-join-001.html (1819B)


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