← back to v152 · relative-alpha-colors-css-color-5-alpha-function
conformance · v152
v152 · relative-alpha-colors-css-color-5-alpha-function — conformance probe
8 assertions drawn from the spec. Each is a single contract the spec text makes. Pass/fail reflects what this browser executed; blocked means the contract was not run because it needs user mediation, hardware, or another unavailable precondition. Open the page in Chrome stable / canary / Firefox / Safari to compare.
0
pass
0
fail
0
blocked
8
total
| id | contract | kind | verdict | detail |
|---|---|---|---|---|
alpha-function-number-form-parses |
CSS.supports accepts alpha(from red / 0.5), the numeric alpha-value form of the at-risk alpha() grammar. spec ↗ | css-supports | … | |
alpha-function-percentage-form-parses |
CSS.supports accepts alpha(from red / 50%), the percentage alpha-value form. spec ↗ | css-supports | … | |
alpha-function-omitted-alpha-computes |
With the slash/alpha omitted, alpha(from rgb(255 0 0 / 0.3)) retains the origin's 0.3 alpha under the current draft/WPT contract. spec ↗ | script | … | |
alpha-function-none-computes |
alpha(from red / none) computes with a missing alpha component under the current draft/WPT expectation; this serialization area still has open CSSWG/WPT issues. spec ↗ | script | … | |
alpha-function-calc-keyword-parses |
CSS.supports accepts calc(alpha * 0.5), where alpha references the origin color's alpha component. spec ↗ | css-supports | … | |
alpha-function-replace-computes |
alpha(from #ff0000 / 50%) computes with red channels unchanged and alpha 0.5. The check accepts current legacy or modern sRGB serialization because notation is not the color-semantic contract. spec ↗ | script | … | |
alpha-function-calc-computes |
alpha(from rgb(255 0 0 / 0.8) / calc(alpha * 0.5)) computes alpha 0.4 while retaining the red components. spec ↗ | script | … | |
alpha-function-preserves-display-p3-space |
A display-p3 origin computes as color(display-p3 1 0 0 / 0.5), directly checking the draft's origin-space-preservation contract. This serialization check does not claim a particular monitor can display the gamut. spec ↗ | script | … |