block-step-align-invalid.html (1255B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>CSS Rhythm: block-step-align invalid values</title> 5 <link rel="author" title="Tim Nguyen" href="https://github.com/nt1m"> 6 <link rel="help" href="https://drafts.csswg.org/css-rhythm/#block-step-align"> 7 <meta name="assert" content="Invalid values for block-step-align should not be parsed"> 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("block-step-align", "auto auto"); 15 test_invalid_value("block-step-align", "start end"); 16 test_invalid_value("block-step-align", "center start"); 17 test_invalid_value("block-step-align", "end auto"); 18 test_invalid_value("block-step-align", "-1px"); 19 test_invalid_value("block-step-align", "min-content"); 20 test_invalid_value("block-step-align", "10%"); 21 test_invalid_value("block-step-align", "20"); 22 test_invalid_value("block-step-align", "none"); 23 test_invalid_value("block-step-align", "border-box"); 24 test_invalid_value('block-step-align', "margin"); 25 test_invalid_value("block-step-align", "padding") 26 test_invalid_value("block-step-align", "content") 27 </script> 28 </body> 29 </html>