place-content-invalid.html (1104B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>CSS Box Alignment Level 3: parsing place-content with invalid values</title> 6 <link rel="help" href="https://drafts.csswg.org/css-align-3/#propdef-place-content"> 7 <meta name="assert" content="place-content supports only the grammar '<align-content> <justify-content>?'."> 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_invalid_value("place-content", "auto"); 15 16 test_invalid_value("place-content", "self-end unsafe"); 17 test_invalid_value("place-content", "self-start"); 18 19 test_invalid_value("place-content", "left"); 20 test_invalid_value("place-content", "unsafe right"); 21 test_invalid_value("place-content", "left normal"); 22 test_invalid_value("place-content", "unsafe right stretch"); 23 24 test_invalid_value("place-content", "normal flex-start baseline"); 25 test_invalid_value("place-content", "first baseline first baseline"); 26 27 test_invalid_value("place-content", "baseline safe"); 28 </script> 29 </body> 30 </html>