Skip to content
Skip the list of specifications

css/css-borders/tentative/parsing/

box-shadow-color-valid.html

Fails: 0 of 17 assertions match, 17 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-color'] = "currentcolor" should set the property valueacceptedrejectedFails
e.style['box-shadow-color'] = "transparent" should set the property valueacceptedrejectedFails
e.style['box-shadow-color'] = "red" should set the property valueacceptedrejectedFails
e.style['box-shadow-color'] = "magenta" should set the property valueacceptedrejectedFails
e.style['box-shadow-color'] = "#234" should set the property valueacceptedrejectedFails
e.style['box-shadow-color'] = "#FEDCBA" should set the property valueacceptedrejectedFails
e.style['box-shadow-color'] = "rgb(2, 3, 4)" should set the property valueacceptedrejectedFails
e.style['box-shadow-color'] = "rgb(100%, 0%, 0%)" should set the property valueacceptedrejectedFails
e.style['box-shadow-color'] = "rgba(2, 3, 4, 0.5)" should set the property valueacceptedrejectedFails
e.style['box-shadow-color'] = "rgba(2, 3, 4, 50%)" should set the property valueacceptedrejectedFails
e.style['box-shadow-color'] = "hsl(120, 100%, 50%)" should set the property valueacceptedrejectedFails
e.style['box-shadow-color'] = "hsla(120, 100%, 50%, 0.25)" should set the property valueacceptedrejectedFails
e.style['box-shadow-color'] = "rgb(-2, 3, 4)" should set the property valueacceptedrejectedFails
e.style['box-shadow-color'] = "rgb(100, 200, 300)" should set the property valueacceptedrejectedFails
e.style['box-shadow-color'] = "rgb(20, 10, 0, -10)" should set the property valueacceptedrejectedFails
e.style['box-shadow-color'] = "rgb(100%, 200%, 300%)" should set the property valueacceptedrejectedFails
e.style['box-shadow-color'] = "red, blue" should set the property valueacceptedrejectedFails

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