text-group-align-valid.html (1152B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>CSS Text Module Test: parsing text-group-align 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-group-align-property"> 8 <meta name="assert" content="text-group-align supports the full grammar 'none | start | end | left | right | center'."> 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-group-align", "none"); 16 test_valid_value("text-group-align", "start"); 17 test_valid_value("text-group-align", "end"); 18 test_valid_value("text-group-align", "left"); 19 test_valid_value("text-group-align", "right"); 20 test_valid_value("text-group-align", "center"); 21 test_valid_value("text-group-align", "initial"); 22 test_valid_value("text-group-align", "inherit"); 23 test_valid_value("text-group-align", "unset"); 24 test_valid_value("text-group-align", "revert"); 25 test_valid_value("text-group-align", "revert-layer"); 26 </script> 27 </body> 28 </html>