Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test has a WPT meta file that expects 6 subtest issues.
- This WPT test may be referenced by the following Test IDs:
- /css/css-rhythm/parsing/block-step-size-valid.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html>
<head>
<title>CSS Rhythm: block-step-size valid values</title>
<link rel="author" title="Sammy Gill" href="sammy.gill@apple.com">
<meta name="assert" content="Parsing valid values for block-step-size properties">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/parsing-testcommon.js"></script>
</head>
<body>
<script>
test_valid_value("block-step-size", "1px");
test_valid_value("block-step-size", "2em");
test_valid_value("block-step-size", "0", "0px");
test_valid_value("block-step-size", "none");
test_valid_value("block-step-size", "calc(2em + 3ex)");
test_valid_value("block-step-size", "1.2em");
</script>
</body>
</html>