css/css-color/parsing/
color-invalid-relative-color.html
Passes: all 29 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 |
|---|---|
| 39 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'] = "rgb(from rebeccapurple r 10deg 10)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "rgb(from rebeccapurple r 10 10deg)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "rgb(from rebeccapurple 10deg g b)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "rgb(from rgb(10%, 20%, 30%, 40%) r 10deg 10)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "rgb(from rgb(10%, 20%, 30%, 40%) r 10 10deg)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "rgb(from rgb(10%, 20%, 30%, 40%) 10deg g b)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "rgb(from rebeccapurple red g b)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "rgb(from rebeccapurple l g b)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "rgb(from rebeccapurple h g b)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "rgb(from rebeccapurple, r, g, b)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "rgba(from rgb(10%, 20%, 30%, 40%), r, g, b, alpha)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "rgb(from rebeccapurple calc(r + 1%) g b)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "rgb(0 0 0 / alpha)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "hsl(from rebeccapurple 10% s l)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "hsl(from rgb(10%, 20%, 30%, 40%) 10% s l)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "hsl(from rebeccapurple hue s l)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "hsl(from rebeccapurple x s l)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "hsl(from rebeccapurple h g b)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "hsl(from rebeccapurple, h, s, l)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "hsla(from rgb(10%, 20%, 30%, 40%), h, s, l, alpha)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "hsl(from rebeccapurple calc(h + 1deg) s l)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "hsl(from rebeccapurple calc(h + 1%) s l)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "hwb(from rebeccapurple 10% w b)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "hwb(from rgb(10%, 20%, 30%, 40%) 10% w b)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "hwb(from rebeccapurple hue w b)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "hwb(from rebeccapurple x w b)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "hwb(from rebeccapurple h g b)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "hwb(from rebeccapurple calc(h + 1deg) w b)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "hwb(from rebeccapurple calc(h + 1%) w b)" 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.