wpt / css / css-overflow / parsing / scroll-markers-invalid.html

Status: PASS | Duration: 50ms | Subtests: 5/5 | 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['scroll-marker-group'] = "10" should not set the property valuePASS
e.style['scroll-marker-group'] = "true" should not set the property valuePASS
e.style['scroll-marker-group'] = "default" should not set the property valuePASS
e.style['scroll-marker-group'] = "set" should not set the property valuePASS
e.style['scroll-marker-group'] = "before, after" should not set the property valuePASS

/css/css-overflow/parsing/scroll-markers-invalid.html

<!doctype html>
<meta charset="utf-8">
<title>CSS Overflow: parsing scroll-marker-group with invalid values</title>
<link rel="help" href="https://drafts.csswg.org/css-overflow-5/#scroll-marker-group-property">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/parsing-testcommon.js"></script>
<div id="target"></div>
<script>
  test_invalid_value('scroll-marker-group', '10');
  test_invalid_value('scroll-marker-group', 'true');
  test_invalid_value('scroll-marker-group', 'default');
  test_invalid_value('scroll-marker-group', 'set');
  test_invalid_value('scroll-marker-group', 'before, after');
</script>