wpt / css / css-gaps / parsing / rule-break-invalid.html

Status: PASS | Duration: 37ms | Subtests: 12/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
e.style['column-rule-break'] = "auto" should not set the property valuePASS
e.style['column-rule-break'] = "true" should not set the property valuePASS
e.style['column-rule-break'] = "10px" should not set the property valuePASS
e.style['column-rule-break'] = "default" should not set the property valuePASS
e.style['row-rule-break'] = "auto" should not set the property valuePASS
e.style['row-rule-break'] = "true" should not set the property valuePASS
e.style['row-rule-break'] = "10px" should not set the property valuePASS
e.style['row-rule-break'] = "default" should not set the property valuePASS
e.style['rule-break'] = "auto" should not set the property valuePASS
e.style['rule-break'] = "true" should not set the property valuePASS
e.style['rule-break'] = "10px" should not set the property valuePASS
e.style['rule-break'] = "default" should not set the property valuePASS

/css/css-gaps/parsing/rule-break-invalid.html

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>CSS Gaps: parsing *-rule-break with invalid values</title>
  <link rel="author" title="Sam Davis Omekara Jr." href="mailto:samomekarajr@microsoft.com">
  <link rel="help" href="https://drafts.csswg.org/css-gaps-1/#break">
  <script src="/resources/testharness.js"></script>
  <script src="/resources/testharnessreport.js"></script>
  <script src="/css/support/parsing-testcommon.js"></script>
</head>
<body>
  <div id="target"></div>
  <script>
    const properties = ['column-rule-break', 'row-rule-break', 'rule-break'];
    for (const property of properties) {
      test_invalid_value(property, 'auto');
      test_invalid_value(property, 'true');
      test_invalid_value(property, '10px');
      test_invalid_value(property, 'default');
    }
  </script>
</body>
</html>