Skip to content
Skip the list of specifications

css/css-borders/tentative/parsing/

box-shadow-color-invalid.html

Passes: all 10 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['box-shadow-color'] = "auto" should not set the property valuePasses
e.style['box-shadow-color'] = "123" should not set the property valuePasses
e.style['box-shadow-color'] = "#12" should not set the property valuePasses
e.style['box-shadow-color'] = "#123456789" should not set the property valuePasses
e.style['box-shadow-color'] = "rgb" should not set the property valuePasses
e.style['box-shadow-color'] = "rgb(1)" should not set the property valuePasses
e.style['box-shadow-color'] = "rgb(1,2,3,4,5)" should not set the property valuePasses
e.style['box-shadow-color'] = "hsla(1,2,3,4,5)" should not set the property valuePasses
e.style['box-shadow-color'] = "rgb(10%, 20, 30%)" should not set the property valuePasses
e.style['box-shadow-color'] = "rgba(-2, 300, 400%, -0.5)" should not set the property valuePasses

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