word-break-normal-002.html (958B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>CSS Text level 4 Test: word-break:normal mistagged</title> 4 <link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> 5 <link rel="help" href="https://drafts.csswg.org/css-text-4/#word-break-property"> 6 <link rel="help" href="https://drafts.csswg.org/css-text-4/#lexical-breaking"> 7 <link rel="mismatch" href="reference/word-break-normal-002-ref.html"> 8 <meta name="assert" content="word-break:normal turns on detection of word boundaries in south east asian scripts, even if the language tagging is incorrect"> 9 <style> 10 #wrap, #ref { 11 font-size: 2em; 12 border: solid orange; 13 margin: 5px; 14 width: 30ch; 15 } 16 #test { 17 width: 0; 18 word-break: normal; 19 } 20 </style> 21 22 <p>Test passes if the two boxes below are <em>different</em>. 23 24 <div id=wrap lang=de> 25 <div id=test>กรุงเทพคือสวยงาม</div> 26 </div> 27 <div id=ref lang=de>กรุงเทพคือสวยงาม</div>