Skip to content
Skip the list of specifications

css/css-fonts/parsing/

palette-mix-invalid.html

Fails: 13 of 16 assertions match, 3 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

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

AssertionExpectedGotVerdict
e.style['font-palette'] = "palette-mix(in oklch hue, dark 60%, light 40%)" should not set the property valuerejectedacceptedFails
e.style['font-palette'] = "palette-mix(in oklch shorter, dark 60%, light 40%)" should not set the property valuerejectedacceptedFails
e.style['font-palette'] = "palette-mix(in oklch foo, dark 60%, light 40%)" should not set the property valuerejectedacceptedFails
e.style['font-palette'] = "palette-mix(in oklab, dark -10%, light 40%)" should not set the property valuerejectedrejectedPasses
e.style['font-palette'] = "palette-mix(in oklab, dark 150%, light 40%)" should not set the property valuerejectedrejectedPasses
e.style['font-palette'] = "palette-mix(in oklab dark 60%, light 40%)" should not set the property valuerejectedrejectedPasses
e.style['font-palette'] = "palette-mix(in oklab, dark 60% light 40%)" should not set the property valuerejectedrejectedPasses
e.style['font-palette'] = "palette-mix( oklab, dark 60% light 40%)" should not set the property valuerejectedrejectedPasses
e.style['font-palette'] = "palette-mix( dark 60%, light 40%, in oklab)" should not set the property valuerejectedrejectedPasses
e.style['font-palette'] = "palette-mix(in oklab, dark 60%, , light 40%)" should not set the property valuerejectedrejectedPasses
e.style['font-palette'] = "palette-mix(in oklab, dark 60%, , light 40% foo)" should not set the property valuerejectedrejectedPasses
e.style['font-palette'] = "palette-mix(in oklab, dark -10%)" should not set the property valuerejectedrejectedPasses
e.style['font-palette'] = "palette-mix(in oklab, dark -10%, light 50%, --for)" should not set the property valuerejectedrejectedPasses
e.style['font-palette'] = "palette-mix(in oklab, dark -10%, light, --foo)" should not set the property valuerejectedrejectedPasses
e.style['font-palette'] = "palette-mix(in oklab, dark 150%, light 50%, --foo)" should not set the property valuerejectedrejectedPasses
e.style['font-palette'] = "palette-mix(in oklab, dark 150%, light, --foo)" should not set the property valuerejectedrejectedPasses

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