Status: PASS | Duration: 52ms | Subtests: 7/7 | Open test on wpt.live | wpt.fyi
Data from commit:
a50cb89 wpt: run reference-named files which are themselves tests (#836) (2026-09-03)
| Subtest | Status | Message |
|---|---|---|
| e.style['scroll-axis-lock'] = "10" should not set the property value | PASS | |
| e.style['scroll-axis-lock'] = "true" should not set the property value | PASS | |
| e.style['scroll-axis-lock'] = "default" should not set the property value | PASS | |
| e.style['scroll-axis-lock'] = "all" should not set the property value | PASS | |
| e.style['scroll-axis-lock'] = "auto, none" should not set the property value | PASS | |
| e.style['scroll-axis-lock'] = "always" should not set the property value | PASS | |
| e.style['scroll-axis-lock'] = "both" should not set the property value | PASS |
/css/css-overflow/parsing/scroll-axis-lock-invalid.html
<!DOCTYPE html> <meta charset="utf-8"> <title>CSS Overflow: parsing scroll-axis-lock property invalid values</title> <link rel="help" href="https://drafts.csswg.org/css-overflow-5/#scroll-axis-lock"> <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-axis-lock', '10'); test_invalid_value('scroll-axis-lock', 'true'); test_invalid_value('scroll-axis-lock', 'default'); test_invalid_value('scroll-axis-lock', 'all'); test_invalid_value('scroll-axis-lock', 'auto, none'); test_invalid_value('scroll-axis-lock', 'always'); test_invalid_value('scroll-axis-lock', 'both'); </script>