word-wrap-valid.html (648B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>CSS Text Module Test: parsing word-wrap with valid values</title> 6 <link rel="help" href="https://www.w3.org/TR/css-text-3/#propdef-word-wrap"> 7 <meta name="assert" content="word-wrap supports the full grammar 'normal | break-word | anywhere'."> 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_valid_value("word-wrap", "normal"); 15 test_valid_value("word-wrap", "break-word"); 16 test_valid_value("word-wrap", "anywhere"); 17 </script> 18 </body> 19 </html>