text-wrap-mode-valid.html (894B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>CSS Text Module Test: parsing text-wrap-mode with valid 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 the full grammar."> 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_valid_value("text-wrap-mode", "wrap"); 16 test_valid_value("text-wrap-mode", "nowrap"); 17 18 test_valid_value("text-wrap-mode", "initial"); 19 test_valid_value("text-wrap-mode", "inherit"); 20 test_valid_value("text-wrap-mode", "unset"); 21 test_valid_value("text-wrap-mode", "revert"); 22 test_valid_value("text-wrap-mode", "revert-layer"); 23 </script> 24 </body> 25 </html>