Re: [csswg-drafts] Back-porting the mixed `<number>` and `<percentage>` color component syntaxes to CSS Color 4 (#8322)

Follow-on change from the back-port: this is no longer correct:

> Except as specified for individual color functions, (for example, HWB Whiteness and Blackness return [<percentage>](https://drafts.csswg.org/css-values-4/#percentage-value)), the [channel keywords](https://drafts.csswg.org/css-color-5/#channel-keyword) return a [<number>](https://drafts.csswg.org/css-values-4/#number-value); if they were originally specified as a <percentage> or an [<angle>](https://drafts.csswg.org/css-values-4/#angle-value), that <percentage> is resolved to a <number> and the <angle> is resolved to a <number> of degrees (which is the [canonical unit](https://drafts.csswg.org/css-values-4/#canonical-unit)) in the range [0, 360].

because W and B now accept number, so [per CSSWG resolution](https://github.com/w3c/csswg-drafts/issues/7876#issuecomment-1379264467) the `w` and `b` channel keywords will now return a `<number>`.


-- 
GitHub Notification of comment by svgeesus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8322#issuecomment-1573796058 using your GitHub account


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

Received on Friday, 2 June 2023 14:04:28 UTC