tor-browser

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

hyphens-i18n-manual-003.html (969B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Text Test: language specific hyphenation—Pinyin</title>
      4 <link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/">
      5 <link rel="help" href="https://drafts.csswg.org/css-text-3/#hyphens-property">
      6 <link rel="match" href="reference/hyphens-i18n-auto-003-ref.html">
      7 <link rel="match" href="reference/hyphens-i18n-auto-003-alt-ref.html">
      8 <meta name="assert" content="Language specific rules should be taken into account when using soft hyphens">
      9 <meta name="flags" content="should">
     10 <style>
     11 div {
     12  font-size: 3em;
     13  color: orange;
     14 }
     15 .test {
     16  width: 3ch;
     17  hyphens: manual;
     18  color: blue;
     19 }
     20 </style>
     21 
     22 <p>Test passes if the blue text is identical to one of the orange texts (which may be identical to eachother, or may have a different hyphen).
     23 <div lang=zh-Latn-pinyin class=test>&shy;’àn</div>
     24 <hr>
     25 <div lang=zh-Latn-pinyin>&#x2010;<br>àn</div>
     26 <hr>
     27 <div lang=zh-Latn-pinyin>tú-<br>àn</div>