Source code

Revision control

Copy as Markdown

Other Tools

[color-valid-relative-color.html]
[e.style['color'\] = "hsl(from rebeccapurple none none none / none)" should set the property value]
expected: FAIL
[e.style['color'\] = "rgb(from currentColor r g b)" should set the property value]
expected: FAIL
[e.style['color'\] = "hsl(from currentColor h s l)" should set the property value]
expected: FAIL
[e.style['color'\] = "hwb(from currentColor h w b)" should set the property value]
expected: FAIL
[e.style['color'\] = "lab(from currentColor l a b)" should set the property value]
expected: FAIL
[e.style['color'\] = "oklab(from currentColor l a b)" should set the property value]
expected: FAIL
[e.style['color'\] = "lch(from currentColor) l c h)" should set the property value]
expected: FAIL
[e.style['color'\] = "oklch(from currentColor l c h)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(from currentColor srgb r g b)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(from currentColor srgb-linear r g b)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(from currentColor a98-rgb r g b)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(from currentColor rec2020 r g b)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(from currentColor prophoto-rgb r g b)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(from currentColor display-p3 r g b)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(from currentColor xyz x y z)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(from currentColor xyz-d50 x y z)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(from currentColor xyz-d65 x y z)" should set the property value]
expected: FAIL
[e.style['color'\] = "rgba(from currentColor r g b)" should set the property value]
expected: FAIL
[e.style['color'\] = "hsla(from rebeccapurple none none none / none)" should set the property value]
expected: FAIL
[e.style['color'\] = "hsla(from currentColor h s l)" should set the property value]
expected: FAIL