word-break-invalid.html (983B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>CSS Text Module Test: parsing word-break with invalid values</title> 6 <link rel="help" href="https://www.w3.org/TR/css-text-3/#propdef-word-break"> 7 <meta name="assert" content="word-break supports only the grammar 'normal | break-all| keep-all | manual | auto-phrase | break-word'."> 8 <script src="/resources/testharness.js"></script> 9 <script src="/resources/testharnessreport.js"></script> 10 <script src="/css/support/parsing-testcommon.js"></script> 11 </head> 12 <body> 13 <script> 14 test_invalid_value("word-break", "auto"); 15 test_invalid_value("word-break", "normal keep-all"); 16 test_invalid_value("word-break", "break-all break-all"); 17 test_invalid_value("word-break", "normal break-word"); 18 test_invalid_value("word-break", "break-word normal"); 19 test_invalid_value("word-break", "keep-all break-word"); 20 test_invalid_value("word-break", "break-all break-word"); 21 test_invalid_value("word-break", "word-break"); 22 </script> 23 </body> 24 </html>