Status: PASS | Duration: 8ms | 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-006.html
<!DOCTYPE html> <meta charset="utf-8"> <title>CSS Text level 4 Test: word-break: auto-phrase hyphenation</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="match" href="reference/word-break-auto-phrase-006-ref.html"> <meta name="assert" content="auto-phrase word breaking must suppress hyphenation"> <style> div { font-size: 2em; border: solid black; margin: 5px; width: min-content; } #test1 { word-break: auto-phrase; hyphens: manual; } #test2 { word-break: auto-phrase; hyphens: auto; } #ref { hyphens: none; } </style> <p>Test passes if all boxes below are identical. <div id=test1 lang=en>con­sid­era­tion</div> <div id=test2 lang=en>consideration</div> <div id=ref lang=en>consideration</div>
/css/css-text/word-break/auto-phrase/reference/word-break-auto-phrase-006-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 { font-size: 2em; border: solid black; margin: 5px; width: min-content; hyphens: none; } </style> <p>Test passes if all boxes below are identical. <div lang=en>consideration</div> <div lang=en>consideration</div> <div lang=en>consideration</div>