Skip to content
Skip the list of specifications

css/css-color-adjust/parsing/

color-scheme-valid.html

Passes: all 22 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

Every row shows what the file expected and what the engine returned, whether they match or not.

AssertionExpectedGotVerdict
e.style['color-scheme'] = "normal" should set the property valueacceptedacceptedPasses
e.style['color-scheme'] = "light" should set the property valueacceptedacceptedPasses
e.style['color-scheme'] = "dark" should set the property valueacceptedacceptedPasses
e.style['color-scheme'] = "light dark" should set the property valueacceptedacceptedPasses
e.style['color-scheme'] = "dark light" should set the property valueacceptedacceptedPasses
e.style['color-scheme'] = "only light" should set the property valueacceptedacceptedPasses
e.style['color-scheme'] = "light only" should set the property valueacceptedacceptedPasses
e.style['color-scheme'] = "light dark only" should set the property valueacceptedacceptedPasses
e.style['color-scheme'] = "light light" should set the property valueacceptedacceptedPasses
e.style['color-scheme'] = "dark dark" should set the property valueacceptedacceptedPasses
e.style['color-scheme'] = "light purple" should set the property valueacceptedacceptedPasses
e.style['color-scheme'] = "purple dark interesting" should set the property valueacceptedacceptedPasses
e.style['color-scheme'] = "none" should set the property valueacceptedacceptedPasses
e.style['color-scheme'] = "light none" should set the property valueacceptedacceptedPasses
e.style['color-scheme'] = "inherit" should set the property valueacceptedacceptedPasses
e.style['color-scheme'] = "initial" should set the property valueacceptedacceptedPasses
e.style['color-scheme'] = "unset" should set the property valueacceptedacceptedPasses
e.style['color-scheme'] = "revert" should set the property valueacceptedacceptedPasses
e.style['color-scheme'] = "only light dark" should set the property valueacceptedacceptedPasses
e.style['color-scheme'] = "only light light" should set the property valueacceptedacceptedPasses
e.style['color-scheme'] = "only light purple" should set the property valueacceptedacceptedPasses
e.style['color-scheme'] = "only none" should set the property valueacceptedacceptedPasses

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