Status: PASS | Duration: 10ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-text/word-break/auto-phrase/word-break-auto-phrase-007.html
<!DOCTYPE html> <meta charset="utf-8"> <title>CSS Text level 4 Test: word-break: auto-phrase forbidden</title> <link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> <link rel="help" href="https://drafts.csswg.org/css-text-4/#word-break-property"> <link rel="help" href="https://drafts.csswg.org/css-text-4/#word-phrase-detection"> <link rel="match" href="reference/word-break-auto-phrase-007-ref.html"> <meta name="assert" content="UAs must not suppress wrapping opportunities introduced by wbr or ZWSP"> <style> div { border: solid black; margin: 5px; width: min-content; } #test { word-break: auto-phrase; } </style> <p>Test passes if the two boxes below are identical. <div id=test lang=ja>東<wbr>京<wbr>へ<wbr>行<wbr>き<wbr>ま​し​ょ​う​。</div> <div id=ref lang=ja>東<wbr>京<wbr>へ<wbr>行<wbr>き<wbr>ま​し​ょ​う​。</div>
/css/css-text/word-break/auto-phrase/reference/word-break-auto-phrase-007-ref.html
<!DOCTYPE html> <meta charset="utf-8"> <title>CSS test reference</title> <link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> <style> div { border: solid black; margin: 5px; width: min-content; } </style> <p>Test passes if the two boxes below are identical. <div id=test lang=ja>東<wbr>京<wbr>へ<wbr>行<wbr>き<wbr>ま​し​ょ​う​。</div> <div id=ref lang=ja>東<wbr>京<wbr>へ<wbr>行<wbr>き<wbr>ま​し​ょ​う​。</div>