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