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