hyphens-i18n-manual-004.html (1303B)
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 should be taken into account when using soft hyphens"> 11 <meta name="flags" content="should"> 12 <style> 13 div { 14 font-size: 3em; 15 color: orange; 16 } 17 .test { 18 width: 8ch; 19 hyphens: manual; 20 color: blue; 21 } 22 </style> 23 24 <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). 25 <div lang=zh-Latn-pinyin class=test>àizēng­‐fēnmíng</div> 26 <hr> 27 <div lang=zh-Latn-pinyin>àizēng‐<br>‐fēnmíng</div> 28 <hr> 29 <div lang=zh-Latn-pinyin>àizēng-<br>‐fēnmíng</div> 30 <hr> 31 <div lang=zh-Latn-pinyin>àizēng‐<br>-fēnmíng</div> 32 <hr> 33 <div lang=zh-Latn-pinyin>àizēng-<br>-fēnmíng</div>