rgb(from rebeccapurple none none none)
rgb(from rebeccapurple none none none / none)
rgb(from rebeccapurple r g none)
rgb(from rebeccapurple r g none / alpha)
rgb(from rgb(20% 40% 60% / 80%) r g none / alpha)
all using none somewhere in the components. My expectation from the spec is that each component should stay none in the resulting code: rgb(from rebeccapurple none none none) becomes rgb(none none none).
I have the following examples from wpt:
all using
none
somewhere in the components. My expectation from the spec is that each component should staynone
in the resulting code:rgb(from rebeccapurple none none none)
becomesrgb(none none none)
.But the current wpt contradicts this assumption. https://github.com/web-platform-tests/wpt/blob/1f9e1af4e5bbd84e79d8c8cd17a135bcf20f6e2d/css/css-color/parsing/color-computed-relative-color.html#L115