[csswg-drafts] [css-color-4] Allow `none` in all legacy color function syntaxes (#7137)

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

== [css-color-4] Allow `none` in all legacy color function syntaxes ==
> [4.3. "Missing"/none Color Components](https://drafts.csswg.org/css-color-4/#missing)
>
> If a color with a [missing component](https://drafts.csswg.org/css-color-4/#missing-color-component) is serialized or otherwise presented directly to an author, then for [legacy color syntax](https://drafts.csswg.org/css-color-4/#legacy-color-syntax) it represents that component as a zero value

The value definition of legacy `<rgb()>`, `<rgba()>`, `<hsl()>`, and `<hsla()>`, do not allow `none`:

```
rgb() = rgb( <percentage>#{3} , <alpha-value>? ) | rgb( <number>#{3} , <alpha-value>? )
hsl() = hsl( <hue>, <percentage>, <percentage>, <alpha-value>? )
```

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


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

Received on Saturday, 12 March 2022 09:57:32 UTC