css/motion/parsing/
offset-path-parsing-invalid.html
Passes: all 24 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['offset-path'] = "path(\"M 20 30 A 60 70 80\")" should not set the property value | Passes | ||
e.style['offset-path'] = "path(\"\")" should not set the property value | Passes | ||
e.style['offset-path'] = "path(\" \")" should not set the property value | Passes | ||
e.style['offset-path'] = "path(nonzero, \"M 0 0 H 100\")" should not set the property value | Passes | ||
e.style['offset-path'] = "path(evenodd, \"M 0 0 H 100\")" should not set the property value | Passes | ||
e.style['offset-path'] = "ray(0 sides)" should not set the property value | Passes | ||
e.style['offset-path'] = "ray(closest-side)" should not set the property value | Passes | ||
e.style['offset-path'] = "ray(closest-side 0deg closest-side)" should not set the property value | Passes | ||
e.style['offset-path'] = "ray(0deg closest-side 0deg)" should not set the property value | Passes | ||
e.style['offset-path'] = "ray(contain 0deg closest-side contain)" should not set the property value | Passes | ||
e.style['offset-path'] = "xywh(0px)" should not set the property value | Passes | ||
e.style['offset-path'] = "xywh(0px 1%)" should not set the property value | Passes | ||
e.style['offset-path'] = "xywh(0px 1% 2em)" should not set the property value | Passes | ||
e.style['offset-path'] = "rect(0px)" should not set the property value | Passes | ||
e.style['offset-path'] = "rect(0px 1%)" should not set the property value | Passes | ||
e.style['offset-path'] = "rect(0px 1% auto)" should not set the property value | Passes | ||
e.style['offset-path'] = "polygon(round, 1px 2px)" should not set the property value | Passes | ||
e.style['offset-path'] = "polygon(round -1px, 1px 2px)" should not set the property value | Passes | ||
e.style['offset-path'] = "polygon(round 1%, 1px 2px)" should not set the property value | Passes | ||
e.style['offset-path'] = "polygon(round 45deg, 1px 2px)" should not set the property value | Passes | ||
e.style['offset-path'] = "polygon(round 1px 1px 2px)" should not set the property value | Passes | ||
e.style['offset-path'] = "polygon(1px 2px, round 1px)" should not set the property value | Passes | ||
e.style['offset-path'] = "polygon(round 1px round 2px, 1px 2px)" should not set the property value | Passes | ||
e.style['offset-path'] = "polygon(round 1px nonzero, 1px 2px)" should not set the property value | Passes |
Results of the run of 8 November 2026, engine build 1d7a91105. The data behind every page is open.