wpt / css / css-logical / parsing / border-block-style-invalid.html

Status: PASS | Duration: 52ms | Subtests: 6/6 | Open test on wpt.live | wpt.fyi

Data from commit:
a50cb89 wpt: run reference-named files which are themselves tests (#836) (2026-09-03)

SubtestStatusMessage
e.style['border-block-start-style'] = "auto" should not set the property valuePASS
e.style['border-block-start-style'] = "hidden, outset" should not set the property valuePASS
e.style['border-block-end-style'] = "solid double" should not set the property valuePASS
e.style['border-block-style'] = "auto" should not set the property valuePASS
e.style['border-block-style'] = "groove, ridge" should not set the property valuePASS
e.style['border-block-style'] = "hidden inset dashed" should not set the property valuePASS

/css/css-logical/parsing/border-block-style-invalid.html

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Logical Properties and Values: parsing border-block-style with invalid values</title>
<link rel="help" href="https://drafts.csswg.org/css-logical/#propdef-border-block-style">
<meta name="assert" content="border-block-style supports only the grammar '<line-style>{1,2}'.">
<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("border-block-start-style", "auto");
test_invalid_value("border-block-start-style", "hidden, outset");
test_invalid_value("border-block-end-style", "solid double");
test_invalid_value("border-block-style", "auto");
test_invalid_value("border-block-style", "groove, ridge");
test_invalid_value("border-block-style", "hidden inset dashed");
</script>
</body>
</html>