Status: FAIL | Duration: 11ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-text/word-space-transform/word-space-transform-014.html
<!DOCTYPE html> <meta charset="utf-8"> <title>CSS Text level 4 Test: word-space-transform and keep-all</title> <link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> <link rel="help" href="https://drafts.csswg.org/css-text-4/#word-space-transform"> <link rel="help" href="https://drafts.csswg.org/css-text-3/#word-break-property"> <link rel="match" href="reference/word-space-transform-014-ref.html"> <meta name="assert" content="spaces inserted by word-space-transform provide soft wrapping opportunities, even with keep-all"> <style> div { font-size: 2em; width: 7ch; font-family: monospace; border: solid blue; margin: 1em; } #test { word-space-transform: space; word-break: keep-all; } </style> <p>Test passes if the two boxes below are identical. <div id=test>aa<wbr>bb<wbr>cc</div> <div id=ref>aa bb <br>cc</div>
/css/css-text/word-space-transform/reference/word-space-transform-014-ref.html
<!DOCTYPE html> <meta charset="utf-8"> <title>Test reference</title> <link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> <style> div { font-size: 2em; width: 7ch; font-family: monospace; border: solid blue; margin: 1em; } </style> <p>Test passes if the two boxes below are identical. <div>aa bb <br>cc</div> <div>aa bb <br>cc</div>