Skip to content
Skip the list of specifications

css/motion/parsing/

offset-parsing-invalid.html

Passes: all 13 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.

AssertionExpectedGotVerdict
e.style['offset'] = "100px 0deg path('m 0 0 h 100')" should not set the property valuePasses
e.style['offset'] = "30deg path('M 20 30 A 60 70 80')" should not set the property valuePasses
e.style['offset'] = "30deg" should not set the property valuePasses
e.style['offset'] = "auto 30deg 90px" should not set the property valuePasses
e.style['offset'] = "none / 10px 20px 30deg" should not set the property valuePasses
e.style['offset'] = "none /" should not set the property valuePasses
e.style['offset'] = "path('M 20 30 A 60 70 80') bottom" should not set the property valuePasses
e.style['offset'] = "path('m 0 0 h 100') 100px 0" should not set the property valuePasses
e.style['offset'] = "path('m 0 0 h 100') 100px 200px" should not set the property valuePasses
e.style['offset'] = "path('m 0 0 h 100') 200% auto 100px" should not set the property valuePasses
e.style['offset'] = "path('m 0 0 h 100') auto reverse" should not set the property valuePasses
e.style['offset'] = "path('m 0 0 h 100') reverse 100px 30deg" should not set the property valuePasses
e.style['offset'] = "ray(sides 0) 50% 90deg auto" should not set the property valuePasses

Results of the run of 8 November 2026, engine build 1d7a91105. The data behind every page is open.