text-wrap-mode-invalid.html (1519B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>CSS Text Module Test: parsing text-wrap-mode 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-mode"> 8 <meta name="assert" content="text-wrap-mode supports only the grammar '<text-wrap-mode>'."> 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-mode", "auto"); 16 test_invalid_value("text-wrap-mode", "normal"); 17 test_invalid_value("text-wrap-mode", "none"); 18 test_invalid_value("text-wrap-mode", "balance"); 19 test_invalid_value("text-wrap-mode", "pretty"); 20 test_invalid_value("text-wrap-mode", "stable"); 21 test_invalid_value("text-wrap-mode", "wrap stable"); 22 test_invalid_value("text-wrap-mode", "nowrap stable"); 23 test_invalid_value("text-wrap-mode", "wrap auto"); 24 test_invalid_value("text-wrap-mode", "balance balance"); 25 test_invalid_value("text-wrap-mode", "pretty pretty"); 26 test_invalid_value("text-wrap-mode", "stable stable"); 27 test_invalid_value("text-wrap-mode", "wrap nowrap"); 28 test_invalid_value("text-wrap-mode", "pretty balance"); 29 test_invalid_value("text-wrap-mode", "balance stable"); 30 test_invalid_value("text-wrap-mode", "stable pretty"); 31 test_invalid_value("text-wrap-mode", "delicious wrap"); 32 test_invalid_value("text-wrap-mode", "5px"); 33 </script> 34 </body> 35 </html>