block-step-invalid.html (916B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>CSS Rhythm: block-step 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"> 7 <meta name="assert" content="Invalid values for block-step 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", "auto auto"); 15 test_invalid_value("block-step", "start end"); 16 test_invalid_value("block-step", "center start"); 17 test_invalid_value("block-step", "none none"); 18 test_invalid_value("block-step", "300px none"); 19 test_invalid_value("block-step", "300px start none"); 20 test_invalid_value("block-step", "300px start border-box padding-box"); 21 </script> 22 </body> 23 </html>