[csswg-drafts] [css-color-5] Clarification on `none` components in relative color syntax. (#10360)

tiaanl has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-color-5] Clarification on `none` components in relative color syntax. ==
I have the following examples from wpt:

```
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)`.

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

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10360 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 23 May 2024 10:54:41 UTC