hyphens-i18n-auto-005.html (761B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>CSS Text Test: language specific hyphenation—Uyghur</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-005-ref.html"> 7 <meta name="assert" content="Language specific rules must be taken into account"> 8 <style> 9 div { 10 font-size: 3em; 11 color: orange; 12 } 13 .test { 14 width: 4ch; 15 hyphens: auto; 16 color: blue; 17 } 18 section { max-width: 20em; } 19 </style> 20 21 <p>Test passes if the blue text and orange text are identical (except for the color). 22 <section dir=rtl lang=ug> 23 <div class=test>داميدى</div> 24 <div>دامي‍ـ<br>‍دى</div> 25 <section>