word-break-auto-phrase-007.html (934B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>CSS Text level 4 Test: word-break: auto-phrase forbidden</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/#word-phrase-detection"> 7 <link rel="match" href="reference/word-break-auto-phrase-007-ref.html"> 8 <meta name="assert" content="UAs must not suppress wrapping opportunities introduced by wbr or ZWSP"> 9 <style> 10 div { 11 border: solid black; 12 margin: 5px; 13 width: min-content; 14 } 15 #test { 16 word-break: auto-phrase; 17 } 18 </style> 19 20 <p>Test passes if the two boxes below are identical. 21 22 <div id=test lang=ja>東<wbr>京<wbr>へ<wbr>行<wbr>き<wbr>ま​し​ょ​う​。</div> 23 <div id=ref lang=ja>東<wbr>京<wbr>へ<wbr>行<wbr>き<wbr>ま​し​ょ​う​。</div>