tor-browser

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

hyphenate-character-005.html (784B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Text test: hyphenate-character</title>
      4 <link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com">
      5 <link rel="help" href="https://drafts.csswg.org/css-text-4/#hyphenate-character">
      6 <link rel="match" href="reference/hyphenate-character-005-ref.html">
      7 <meta name="assert" content="Specifies the string that appears at the end of the line before a hyphenation break">
      8 <style>
      9 div {
     10  font: 32px sans-serif;
     11  margin-left: 10ch;
     12  width: 3ch;
     13  hyphenate-character: "\00a0\0640";
     14 }
     15 </style>
     16 
     17 <p>Test passes if the word below is hyphenated
     18 using a right-to-left <i>space+kashida</i> sequence "<span dir=rtl>&nbsp;&#x0640;</span>",
     19 and shaping is <i>not</i> interrupted.
     20 
     21 <div dir=rtl lang=ug>
     22 قىل­مىغانلىقى
     23 </div>