[csswg-drafts] [css-color-4] `<hue> | none` is redundant (#7816)

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

== [css-color-4] `<hue> | none` is redundant ==
The [definition of `<hue>`](https://www.w3.org/TR/css-color-4/#typedef-hue) is given as:
```
<hue> = <number> | <angle> | none
```

However, most other definitions that make use of `<hue>` are specified as `[<hue> | none]`.

The only one that _isn't_ specified that way is [the one describing the legacy color syntax of `hsl()`](https://www.w3.org/TR/css-color-4/#the-hsl-notation), in which `none` was not originally available—except it my understanding that `none` is now available even with legacy color syntax.

Which is correct? (It matters for the purposes of reusing definitions/code.)

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


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

Received on Saturday, 1 October 2022 22:03:53 UTC