css/css-color/parsing/
alpha-color-parsing-invalid.html
Passes: all 23 assertions match
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.
| Assertion | Expected | Got | Verdict |
|---|---|---|---|
e.style['color'] = "alpha(red / 0.5)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "alpha()" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "alpha(from / 0.5)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "alpha(from)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "alpha(from red)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "alpha(from currentcolor)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "alpha(from rgba(255, 0, 0, 0.3))" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "alpha(from alpha(from currentcolor / 0.5))" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "alpha(from alpha(from currentcolor) / 0.5)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "alpha(from red / 0.5 0.5)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "alpha(from red 0.5)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "alpha(from red r g b / 0.5)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "alpha(from 42 / 0.5)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "alpha(from none / 0.5)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "alpha(from red /)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "alpha(from red / / 0.5)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "alpha(from red / 0.5 / 0.5)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "alpha(from red / alpha alpha)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "alpha(from red, blue)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "alpha(from red / r)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "alpha(from red / l)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "alpha(from red / red)" should not set the property value | rejected | rejected | Passes |
e.style['color'] = "alpha(from red / calc(r * 0.5))" 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.