wpt / css / css-break / inheritance.html

Status: FAIL | Duration: 57ms | Subtests: 2/12 | 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
Property box-decoration-break has initial value slicePASS
Property box-decoration-break does not inheritPASS
Property break-after has initial value autoFAILassert_true: break-after doesn't seem to be supported in the computed style expected true got false
Property break-after does not inheritFAILassert_true: expected true got false
Property break-before has initial value autoFAILassert_true: break-before doesn't seem to be supported in the computed style expected true got false
Property break-before does not inheritFAILassert_true: expected true got false
Property break-inside has initial value autoFAILassert_true: break-inside doesn't seem to be supported in the computed style expected true got false
Property break-inside does not inheritFAILassert_true: expected true got false
Property orphans has initial value 2FAILassert_true: orphans doesn't seem to be supported in the computed style expected true got false
Property orphans inheritsFAILassert_true: orphans doesn't seem to be supported in the computed style expected true got false
Property widows has initial value 2FAILassert_true: widows doesn't seem to be supported in the computed style expected true got false
Property widows inheritsFAILassert_true: widows doesn't seem to be supported in the computed style expected true got false

/css/css-break/inheritance.html

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Inheritance of CSS Fragmentation properties</title>
<link rel="help" href="https://drafts.csswg.org/css-break/#property-index">
<meta name="assert" content="Properties inherit or not according to the spec.">
<meta name="assert" content="Properties have initial values according to the spec.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/inheritance-testcommon.js"></script>
</head>
<body>
<div id="container">
  <div id="target"></div>
</div>
<script>
assert_not_inherited('box-decoration-break', 'slice', 'clone');
assert_not_inherited('break-after', 'auto', 'column');
assert_not_inherited('break-before', 'auto', 'page');
assert_not_inherited('break-inside', 'auto', 'avoid');
assert_inherited('orphans', '2', '3');
assert_inherited('widows', '2', '3');
</script>
</body>
</html>