text-align-valid.html (907B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>CSS Text Module Test: parsing text-align with valid values</title> 6 <link rel="help" href="https://www.w3.org/TR/css-text-3/#propdef-text-align"> 7 <meta name="assert" content="text-align supports the full grammar 'start | end | left | right | center | justify | match-parent | justify-all'."> 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("text-align", "start"); 15 test_valid_value("text-align", "end"); 16 test_valid_value("text-align", "left"); 17 test_valid_value("text-align", "right"); 18 test_valid_value("text-align", "center"); 19 test_valid_value("text-align", "justify"); 20 test_valid_value("text-align", "match-parent"); 21 test_valid_value("text-align", "justify-all"); 22 </script> 23 </body> 24 </html>