Skip to content
Skip the list of specifications

css/css-color-adjust/parsing/

color-scheme-invalid.html

Passes: all 16 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'] = "only normal" should not set the property valuerejectedrejectedPasses
e.style['color-scheme'] = "normal dark" should not set the property valuerejectedrejectedPasses
e.style['color-scheme'] = "normal purple" should not set the property valuerejectedrejectedPasses
e.style['color-scheme'] = "light normal" should not set the property valuerejectedrejectedPasses
e.style['color-scheme'] = "light, dark" should not set the property valuerejectedrejectedPasses
e.style['color-scheme'] = "light inherit" should not set the property valuerejectedrejectedPasses
e.style['color-scheme'] = "light initial" should not set the property valuerejectedrejectedPasses
e.style['color-scheme'] = "light unset" should not set the property valuerejectedrejectedPasses
e.style['color-scheme'] = "light revert" should not set the property valuerejectedrejectedPasses
e.style['color-scheme'] = "light revert-layer" should not set the property valuerejectedrejectedPasses
e.style['color-scheme'] = "default" should not set the property valuerejectedrejectedPasses
e.style['color-scheme'] = "light default" should not set the property valuerejectedrejectedPasses
e.style['color-scheme'] = "only" should not set the property valuerejectedrejectedPasses
e.style['color-scheme'] = "only only" should not set the property valuerejectedrejectedPasses
e.style['color-scheme'] = "light only dark" should not set the property valuerejectedrejectedPasses
e.style['color-scheme'] = "only light only" should not set the property valuerejectedrejectedPasses

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