wpt / css / css-break / parsing / break-before-valid.html

Status: FAIL | Duration: 63ms | Subtests: 0/12 | Open test on wpt.live | wpt.fyi

Data from commit:
1884860 Copy-on-write style attribute blocks that are in the rule tree (#831) (2026-09-02)

SubtestStatusMessage
e.style['break-before'] = "auto" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['break-before'] = "avoid" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['break-before'] = "avoid-page" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['break-before'] = "page" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['break-before'] = "left" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['break-before'] = "right" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['break-before'] = "recto" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['break-before'] = "verso" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['break-before'] = "avoid-column" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['break-before'] = "column" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['break-before'] = "avoid-region" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['break-before'] = "region" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""

/css/css-break/parsing/break-before-valid.html

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Fragmentation Module Level 3: parsing break-before with valid values</title>
<link rel="help" href="https://drafts.csswg.org/css-break/#propdef-break-before">
<meta name="assert" content="break-before supports the full grammar 'auto | avoid | avoid-page | page | left | right | recto | verso | avoid-column | column | avoid-region | region'.">
<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("break-before", "auto");
test_valid_value("break-before", "avoid");
test_valid_value("break-before", "avoid-page");
test_valid_value("break-before", "page");
test_valid_value("break-before", "left");
test_valid_value("break-before", "right");
test_valid_value("break-before", "recto");
test_valid_value("break-before", "verso");
test_valid_value("break-before", "avoid-column");
test_valid_value("break-before", "column");
test_valid_value("break-before", "avoid-region");
test_valid_value("break-before", "region");
</script>
</body>
</html>