block-step-size-valid.html (837B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>CSS Rhythm: block-step-size valid values</title> 5 <link rel="author" title="Sammy Gill" href="sammy.gill@apple.com"> 6 <link rel="help" href="https://drafts.csswg.org/css-rhythm/#block-step-size"> 7 <meta name="assert" content="Parsing valid values for block-step-size properties"> 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_valid_value("block-step-size", "1px"); 15 test_valid_value("block-step-size", "2em"); 16 test_valid_value("block-step-size", "0", "0px"); 17 test_valid_value("block-step-size", "none"); 18 test_valid_value("block-step-size", "calc(2em + 3ex)"); 19 test_valid_value("block-step-size", "1.2em"); 20 </script> 21 </body> 22 </html>