hyphens-i18n-auto-003-alt-ref.html (732B)
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 <meta name="assert" content="Language specific rules must be taken into account"> 7 <style> 8 div { 9 font-size: 3em; 10 color: orange; 11 } 12 .test { 13 color: blue; 14 } 15 </style> 16 17 <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). 18 <div lang=zh-Latn-pinyin class=test>tú-<br>àn</div> 19 <hr> 20 <div lang=zh-Latn-pinyin>tú‐<br>àn</div> 21 <hr> 22 <div lang=zh-Latn-pinyin>tú-<br>àn</div>