Skip to content
Skip the list of specifications

css/css-fonts/parsing/

palette-mix-valid.html

Fails: 26 of 38 assertions match, 12 do not; 1 more could not be judged

A parsing check: each value the parser must accept or reject.

Why some could not be judgedAssertions
4 calls with non-literal arguments1

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 srgb, dark)" should set the property valueacceptedrejectedFails
e.style['font-palette'] = "palette-mix(in srgb, dark 100%)" should set the property valueacceptedrejectedFails
e.style['font-palette'] = "palette-mix(in srgb, dark 50%)" should set the property valueacceptedrejectedFails
e.style['font-palette'] = "palette-mix(in srgb, dark, light, --foo)" should set the property valueacceptedrejectedFails
e.style['font-palette'] = "palette-mix(in oklab, dark, light, --foo)" should set the property valueacceptedrejectedFails
e.style['font-palette'] = "palette-mix(in srgb, dark 50%, light 30%, --foo 20%)" should set the property valueacceptedrejectedFails
e.style['font-palette'] = "palette-mix(in srgb, dark 30%, light 60%, --foo 90%)" should set the property valueacceptedrejectedFails
e.style['font-palette'] = "palette-mix(in srgb, dark 50%, light, --foo)" should set the property valueacceptedrejectedFails
e.style['font-palette'] = "palette-mix(in srgb, dark, light 25%, --foo 25%)" should set the property valueacceptedrejectedFails
e.style['font-palette'] = "palette-mix(in srgb, dark, light, --foo, --bar)" should set the property valueacceptedrejectedFails
e.style['font-palette'] = "palette-mix(in srgb, dark 0%)" should set the property valueacceptedrejectedFails
e.style['font-palette'] = "palette-mix(in srgb, dark 0%, light 0%, --foo 0%)" should set the property valueacceptedrejectedFails
e.style['font-palette'] = "palette-mix( light 30%, dark)" should set the property valueacceptedacceptedPasses
e.style['font-palette'] = "palette-mix(in oklab, light 30%, dark)" should set the property valueacceptedacceptedPasses
e.style['font-palette'] = "palette-mix(in oklab, 30% light, dark)" should set the property valueacceptedacceptedPasses
e.style['font-palette'] = "palette-mix(in oklab, light 30%, light)" should set the property valueacceptedacceptedPasses
e.style['font-palette'] = "palette-mix(in oklab, light 30%, normal)" should set the property valueacceptedacceptedPasses
e.style['font-palette'] = "palette-mix(in oklab, --foo 30%, normal)" should set the property valueacceptedacceptedPasses
e.style['font-palette'] = "palette-mix(in oklab, 30% --foo, normal)" should set the property valueacceptedacceptedPasses
e.style['font-palette'] = "palette-mix(palette-mix(in srgb, light 30%, normal) 20%, dark)" should set the property valueacceptedacceptedPasses
e.style['font-palette'] = "palette-mix(palette-mix(in srgb, light 30%, normal) 30%, palette-mix(in srgb, --foo 30%, dark))" should set the property valueacceptedacceptedPasses
e.style['font-palette'] = "palette-mix(in srgb, light 50%, dark 50%)" should set the property valueacceptedacceptedPasses
e.style['font-palette'] = "palette-mix(in srgb, light 10%, dark 90%)" should set the property valueacceptedacceptedPasses
e.style['font-palette'] = "palette-mix(in srgb, light 50%, dark 40%)" should set the property valueacceptedacceptedPasses
e.style['font-palette'] = "palette-mix(in srgb, light 40%, dark 50%)" should set the property valueacceptedacceptedPasses
e.style['font-palette'] = "palette-mix(in srgb, light 30%, dark 40%)" should set the property valueacceptedacceptedPasses
e.style['font-palette'] = "palette-mix(in srgb, light 75%, dark 75%)" should set the property valueacceptedacceptedPasses
e.style['font-palette'] = "palette-mix(in srgb, light 0% , dark 0%)" should set the property valueacceptedacceptedPasses
e.style['font-palette'] = "palette-mix(in srgb, light calc(10%), dark 50%)" should set the property valueacceptedacceptedPasses
e.style['font-palette'] = "palette-mix(in srgb, light 50%, dark calc(10%))" should set the property valueacceptedacceptedPasses
e.style['font-palette'] = "palette-mix(in srgb, light calc(10%), dark calc(90%))" should set the property valueacceptedacceptedPasses
e.style['font-palette'] = "palette-mix(in srgb, light 50%, dark)" should set the property valueacceptedacceptedPasses
e.style['font-palette'] = "palette-mix(in srgb, light 10%, dark)" should set the property valueacceptedacceptedPasses
e.style['font-palette'] = "palette-mix(in srgb, light calc(50%), dark)" should set the property valueacceptedacceptedPasses
e.style['font-palette'] = "palette-mix(in srgb, light, dark 50%)" should set the property valueacceptedacceptedPasses
e.style['font-palette'] = "palette-mix(in srgb, light, dark 90%)" should set the property valueacceptedacceptedPasses
e.style['font-palette'] = "palette-mix(in srgb, light, dark calc(50%))" should set the property valueacceptedacceptedPasses
e.style['font-palette'] = "palette-mix(in srgb, light, dark)" should set the property valueacceptedacceptedPasses

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