Status: PASS | Duration: 57ms | Subtests: 8/8 | Open test on wpt.live | wpt.fyi
Data from commit:
a50cb89 wpt: run reference-named files which are themselves tests (#836) (2026-09-03)
| Subtest | Status | Message |
|---|---|---|
| e.style['word-break'] = "auto" should not set the property value | PASS | |
| e.style['word-break'] = "normal keep-all" should not set the property value | PASS | |
| e.style['word-break'] = "break-all break-all" should not set the property value | PASS | |
| e.style['word-break'] = "normal break-word" should not set the property value | PASS | |
| e.style['word-break'] = "break-word normal" should not set the property value | PASS | |
| e.style['word-break'] = "keep-all break-word" should not set the property value | PASS | |
| e.style['word-break'] = "break-all break-word" should not set the property value | PASS | |
| e.style['word-break'] = "word-break" should not set the property value | PASS |
/css/css-text/parsing/word-break-invalid.html
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>CSS Text Module Test: parsing word-break with invalid values</title> <link rel="help" href="https://www.w3.org/TR/css-text-3/#propdef-word-break"> <meta name="assert" content="word-break supports only the grammar 'normal | break-all| keep-all | manual | auto-phrase | break-word'."> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <script src="/css/support/parsing-testcommon.js"></script> </head> <body> <script> test_invalid_value("word-break", "auto"); test_invalid_value("word-break", "normal keep-all"); test_invalid_value("word-break", "break-all break-all"); test_invalid_value("word-break", "normal break-word"); test_invalid_value("word-break", "break-word normal"); test_invalid_value("word-break", "keep-all break-word"); test_invalid_value("word-break", "break-all break-word"); test_invalid_value("word-break", "word-break"); </script> </body> </html>