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 judged | Assertions |
|---|---|
| 4 calls with non-literal arguments | 1 |
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.
| Assertion | Expected | Got | Verdict |
|---|---|---|---|
e.style['font-palette'] = "palette-mix(in srgb, dark)" should set the property value | accepted | rejected | Fails |
e.style['font-palette'] = "palette-mix(in srgb, dark 100%)" should set the property value | accepted | rejected | Fails |
e.style['font-palette'] = "palette-mix(in srgb, dark 50%)" should set the property value | accepted | rejected | Fails |
e.style['font-palette'] = "palette-mix(in srgb, dark, light, --foo)" should set the property value | accepted | rejected | Fails |
e.style['font-palette'] = "palette-mix(in oklab, dark, light, --foo)" should set the property value | accepted | rejected | Fails |
e.style['font-palette'] = "palette-mix(in srgb, dark 50%, light 30%, --foo 20%)" should set the property value | accepted | rejected | Fails |
e.style['font-palette'] = "palette-mix(in srgb, dark 30%, light 60%, --foo 90%)" should set the property value | accepted | rejected | Fails |
e.style['font-palette'] = "palette-mix(in srgb, dark 50%, light, --foo)" should set the property value | accepted | rejected | Fails |
e.style['font-palette'] = "palette-mix(in srgb, dark, light 25%, --foo 25%)" should set the property value | accepted | rejected | Fails |
e.style['font-palette'] = "palette-mix(in srgb, dark, light, --foo, --bar)" should set the property value | accepted | rejected | Fails |
e.style['font-palette'] = "palette-mix(in srgb, dark 0%)" should set the property value | accepted | rejected | Fails |
e.style['font-palette'] = "palette-mix(in srgb, dark 0%, light 0%, --foo 0%)" should set the property value | accepted | rejected | Fails |
e.style['font-palette'] = "palette-mix( light 30%, dark)" should set the property value | accepted | accepted | Passes |
e.style['font-palette'] = "palette-mix(in oklab, light 30%, dark)" should set the property value | accepted | accepted | Passes |
e.style['font-palette'] = "palette-mix(in oklab, 30% light, dark)" should set the property value | accepted | accepted | Passes |
e.style['font-palette'] = "palette-mix(in oklab, light 30%, light)" should set the property value | accepted | accepted | Passes |
e.style['font-palette'] = "palette-mix(in oklab, light 30%, normal)" should set the property value | accepted | accepted | Passes |
e.style['font-palette'] = "palette-mix(in oklab, --foo 30%, normal)" should set the property value | accepted | accepted | Passes |
e.style['font-palette'] = "palette-mix(in oklab, 30% --foo, normal)" should set the property value | accepted | accepted | Passes |
e.style['font-palette'] = "palette-mix(palette-mix(in srgb, light 30%, normal) 20%, dark)" should set the property value | accepted | accepted | Passes |
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 value | accepted | accepted | Passes |
e.style['font-palette'] = "palette-mix(in srgb, light 50%, dark 50%)" should set the property value | accepted | accepted | Passes |
e.style['font-palette'] = "palette-mix(in srgb, light 10%, dark 90%)" should set the property value | accepted | accepted | Passes |
e.style['font-palette'] = "palette-mix(in srgb, light 50%, dark 40%)" should set the property value | accepted | accepted | Passes |
e.style['font-palette'] = "palette-mix(in srgb, light 40%, dark 50%)" should set the property value | accepted | accepted | Passes |
e.style['font-palette'] = "palette-mix(in srgb, light 30%, dark 40%)" should set the property value | accepted | accepted | Passes |
e.style['font-palette'] = "palette-mix(in srgb, light 75%, dark 75%)" should set the property value | accepted | accepted | Passes |
e.style['font-palette'] = "palette-mix(in srgb, light 0% , dark 0%)" should set the property value | accepted | accepted | Passes |
e.style['font-palette'] = "palette-mix(in srgb, light calc(10%), dark 50%)" should set the property value | accepted | accepted | Passes |
e.style['font-palette'] = "palette-mix(in srgb, light 50%, dark calc(10%))" should set the property value | accepted | accepted | Passes |
e.style['font-palette'] = "palette-mix(in srgb, light calc(10%), dark calc(90%))" should set the property value | accepted | accepted | Passes |
e.style['font-palette'] = "palette-mix(in srgb, light 50%, dark)" should set the property value | accepted | accepted | Passes |
e.style['font-palette'] = "palette-mix(in srgb, light 10%, dark)" should set the property value | accepted | accepted | Passes |
e.style['font-palette'] = "palette-mix(in srgb, light calc(50%), dark)" should set the property value | accepted | accepted | Passes |
e.style['font-palette'] = "palette-mix(in srgb, light, dark 50%)" should set the property value | accepted | accepted | Passes |
e.style['font-palette'] = "palette-mix(in srgb, light, dark 90%)" should set the property value | accepted | accepted | Passes |
e.style['font-palette'] = "palette-mix(in srgb, light, dark calc(50%))" should set the property value | accepted | accepted | Passes |
e.style['font-palette'] = "palette-mix(in srgb, light, dark)" should set the property value | accepted | accepted | Passes |
Results of the run of 8 November 2026, engine build 1d7a91105. The data behind every page is open.