Skip to content
Skip the list of specifications

css/css-borders/tentative/parsing/

box-shadow-offset-valid.html

Fails: 0 of 7 assertions match, 7 do not

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['box-shadow-offset'] = "0" should set the property valueacceptedrejectedFails
e.style['box-shadow-offset'] = "0 0" should set the property valueacceptedrejectedFails
e.style['box-shadow-offset'] = "1px 2px" should set the property valueacceptedrejectedFails
e.style['box-shadow-offset'] = "1em 2em" should set the property valueacceptedrejectedFails
e.style['box-shadow-offset'] = "-1px -2px" should set the property valueacceptedrejectedFails
e.style['box-shadow-offset'] = "calc(1em + 2px) calc(3rem + 4vw)" should set the property valueacceptedrejectedFails
e.style['box-shadow-offset'] = "1px 2px, 3px 4px" should set the property valueacceptedrejectedFails

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