css/css-color/parsing/
color-invalid-color-function.html
Passes: all 12 assertions match; 1 more could not be judged
A parsing check: each value the parser must accept or reject.
| Why some could not be judged | Assertions |
|---|---|
| 27 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['color'] = "color()" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "color(banana 1 1 1)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "color(displayp3 1 1 1)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "color(1 1 1)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "color(srgb 1 1)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "color(srgb 1)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "color(srgb 0, 0, 0)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "color(srgb 1 1 1 1)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "color(srgb 1 1 1 1 1)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "color(srgb 1 eggs 1)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "color(srgb 1 1 1 / bacon)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "color(srgb 1 1 1 / 1 cucumber)" should not set the property value | rejected | rejected | Passes |
Results of the run of 8 November 2026, engine build 1d7a91105. The data behind every page is open.