text-wrap-style-invalid.html (1218B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>CSS Text Module Test: parsing text-wrap-style with invalid values</title> 6 <link rel="author" title="Tim Nguyen" href="https://github.com/nt1m"> 7 <link rel="help" href="https://drafts.csswg.org/css-text-4/#text-wrap-style"> 8 <meta name="assert" content="text-wrap-style supports only the grammar '<text-wrap-style>'."> 9 <script src="/resources/testharness.js"></script> 10 <script src="/resources/testharnessreport.js"></script> 11 <script src="/css/support/parsing-testcommon.js"></script> 12 </head> 13 <body> 14 <script> 15 test_invalid_value("text-wrap-style", "normal"); 16 test_invalid_value("text-wrap-style", "none"); 17 test_invalid_value("text-wrap-style", "wrap"); 18 test_invalid_value("text-wrap-style", "nowrap"); 19 test_invalid_value("text-wrap-style", "wrap wrap"); 20 test_invalid_value("text-wrap-style", "nowrap nowrap"); 21 test_invalid_value("text-wrap-style", "wrap nowrap"); 22 test_invalid_value("text-wrap-style", "pretty balance"); 23 test_invalid_value("text-wrap-style", "balance stable"); 24 test_invalid_value("text-wrap-style", "stable pretty"); 25 test_invalid_value("text-wrap-style", "delicious wrap"); 26 test_invalid_value("text-wrap-style", "5px"); 27 </script> 28 </body> 29 </html>