css/css-scroll-snap/parsing/
scroll-snap-type-valid.html
Passes: all 11 assertions match
A parsing check: each value the parser must accept or reject.
Run it in the playgroundThe fileOn GitHubBrowsers’ results on wpt.fyi
Each assertion
A passing assertion got what it asked for, so only a failing one shows what it expected and what it got.
| Assertion | Expected | Got | Verdict |
|---|---|---|---|
e.style['scroll-snap-type'] = "none" should set the property value | Passes | ||
e.style['scroll-snap-type'] = "x" should set the property value | Passes | ||
e.style['scroll-snap-type'] = "y" should set the property value | Passes | ||
e.style['scroll-snap-type'] = "block" should set the property value | Passes | ||
e.style['scroll-snap-type'] = "inline" should set the property value | Passes | ||
e.style['scroll-snap-type'] = "both" should set the property value | Passes | ||
e.style['scroll-snap-type'] = "y mandatory" should set the property value | Passes | ||
e.style['scroll-snap-type'] = "block mandatory" should set the property value | Passes | ||
e.style['scroll-snap-type'] = "both mandatory" should set the property value | Passes | ||
e.style['scroll-snap-type'] = "inline proximity" should set the property value | Passes | ||
e.style['scroll-snap-type'] = "x proximity" should set the property value | Passes |
Results of the run of 8 November 2026, engine build 1d7a91105. The data behind every page is open.