white-space-invalid.html (852B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>CSS Text Module Test: parsing white-space with invalid values</title> 6 <link rel="help" href="https://www.w3.org/TR/css-text-3/#propdef-white-space"> 7 <meta name="assert" content="white-space supports only the grammar 'normal | pre | nowrap | pre-wrap | break-spaces | pre-line'."> 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("white-space", "auto"); 15 test_invalid_value("white-space", "normal pre"); 16 test_invalid_value("white-space", "nowrap pre-wrap"); 17 test_invalid_value("white-space", "pre-line break-spaces"); 18 test_invalid_value("white-space", "balance"); 19 test_invalid_value("white-space", "pretty"); 20 </script> 21 </body> 22 </html>