alpha-color-parsing-valid.html
Details
- Test
/css/css-color/parsing/alpha-color-parsing-valid.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| FAIL | e.style['color'] = "alpha(from red / 0.5)" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['color'] = "alpha(from blue / 1)" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['color'] = "alpha(from green / 0)" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['color'] = "alpha(from rgba(0, 0, 0, 0.5) / 1)" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['color'] = "alpha(from red / 50%)" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['color'] = "alpha(from red / 0%)" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['color'] = "alpha(from red / 100%)" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['color'] = "alpha(from red / none)" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['color'] = "alpha(from currentcolor / alpha)" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['color'] = "alpha(from currentcolor / calc(alpha * 0.5))" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['color'] = "alpha(from currentcolor / calc(alpha + 0.1))" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['color'] = "color-mix(in srgb, alpha(from red / 0.5), blue)" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['color'] = "rgb(from alpha(from currentcolor / 0.5) r g b)" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['color'] = "alpha(from color-mix(in srgb, red, blue) / 0.5)" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['color'] = "alpha(from rgb(from red r g b) / 0.8)" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['color'] = "alpha(from color(display-p3 1 0 0) / 0.5)" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['color'] = "alpha(from lab(50 20 -30) / 0.5)" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['color'] = "alpha(from oklch(0.5 0.2 120) / 0.5)" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['color'] = "alpha(from currentcolor / 0.5)" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['color'] = "alpha(from red / 2)" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['color'] = "alpha(from red / -1)" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['color'] = "alpha(from rgba(255, 0, 0, 0.8) / alpha)" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['color'] = "alpha(from color(srgb 1 0 0) / 50%)" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['color'] = "alpha(from oklab(0.5 0.2 -0.3) / 0.5)" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['color'] = "alpha(from lch(50% 20 30) / 0.5)" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['color'] = "alpha(from hsl(120 50% 50%) / 0.5)" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['color'] = "alpha(from hwb(120 0% 0%) / 0.5)" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['color'] = "alpha(from ActiveText / 0.5)" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['color'] = "alpha(from green / sibling-index())" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['color'] = "alpha(from green / sibling-count())" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['color'] = "alpha(from green / calc(sibling-index() * 0.2))" should set the property value assert_not_equals: property should be set got disallowed value "" |
| PASS | e.style['color'] = "alpha(from red / var(--alpha))" should set the property value |
| FAIL | e.style['color'] = "alpha(from alpha(from currentcolor / 0.5) / alpha)" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['color'] = "alpha(from alpha(from currentcolor / 0.5) / calc(alpha + 0.25))" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['color'] = "rgb(from alpha(from red / 0.5) r g b / alpha)" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['color'] = "hsl(from alpha(from currentcolor / 0.5) h s l / alpha)" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['color'] = "hwb(from alpha(from currentcolor / 0.5) h w b / alpha)" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['color'] = "lab(from alpha(from currentcolor / 0.5) l a b / alpha)" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['color'] = "lch(from alpha(from currentcolor / 0.5) l c h / alpha)" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['color'] = "oklab(from alpha(from currentcolor / 0.5) l a b / alpha)" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['color'] = "oklch(from alpha(from currentcolor / 0.5) l c h / alpha)" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['color'] = "color(from alpha(from currentcolor / 0.5) display-p3 r g b / alpha)" should set the property value assert_not_equals: property should be set got disallowed value "" |