1
0
Fork 0
firefox/testing/web-platform/tests/css/css-rhythm/parsing/block-step-align-invalid.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

29 lines
1.2 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>CSS Rhythm: block-step-align invalid values</title>
<link rel="author" title="Tim Nguyen" href="https://github.com/nt1m">
<link rel="help" href="https://drafts.csswg.org/css-rhythm/#block-step-align">
<meta name="assert" content="Invalid values for block-step-align 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-align", "auto auto");
test_invalid_value("block-step-align", "start end");
test_invalid_value("block-step-align", "center start");
test_invalid_value("block-step-align", "end auto");
test_invalid_value("block-step-align", "-1px");
test_invalid_value("block-step-align", "min-content");
test_invalid_value("block-step-align", "10%");
test_invalid_value("block-step-align", "20");
test_invalid_value("block-step-align", "none");
test_invalid_value("block-step-align", "border-box");
test_invalid_value('block-step-align', "margin");
test_invalid_value("block-step-align", "padding")
test_invalid_value("block-step-align", "content")
</script>
</body>
</html>