Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-rhythm/parsing/block-step-invalid.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html>
<head>
<title>CSS Rhythm: block-step invalid values</title>
<meta name="assert" content="Invalid values for block-step should not be parsed">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/parsing-testcommon.js"></script>
</head>
<body>
<script>
test_invalid_value("block-step", "auto auto");
test_invalid_value("block-step", "start end");
test_invalid_value("block-step", "center start");
test_invalid_value("block-step", "none none");
test_invalid_value("block-step", "300px none");
test_invalid_value("block-step", "300px start none");
test_invalid_value("block-step", "300px start border-box padding-box");
</script>
</body>
</html>