tor-browser

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

hyphens-i18n-auto-004.html (1233B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Text Test: language specific hyphenation—Pinyin-hyphen</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-004-ref.html">
      7 <link rel="match" href="reference/hyphens-i18n-auto-004-alt-ref.html">
      8 <link rel="match" href="reference/hyphens-i18n-auto-004-alt-2-ref.html">
      9 <link rel="match" href="reference/hyphens-i18n-auto-004-alt-3-ref.html">
     10 <meta name="assert" content="Language specific rules must be taken into account">
     11 <style>
     12 div {
     13  font-size: 3em;
     14  color: orange;
     15 }
     16 .test {
     17  width: 8ch;
     18  hyphens: auto;
     19  color: blue;
     20 }
     21 </style>
     22 
     23 <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).
     24 <div lang=zh-Latn-pinyin class=test>àizēng&#x2010;fēnmíng</div>
     25 <hr>
     26 <div lang=zh-Latn-pinyin>àizēng&#x2010;<br>&#x2010;fēnmíng</div>
     27 <hr>
     28 <div lang=zh-Latn-pinyin>àizēng-<br>&#x2010;fēnmíng</div>
     29 <hr>
     30 <div lang=zh-Latn-pinyin>àizēng&#x2010;<br>-fēnmíng</div>
     31 <hr>
     32 <div lang=zh-Latn-pinyin>àizēng-<br>-fēnmíng</div>