- From: Chris Lilley via GitHub <sysbot+gh@w3.org>
- Date: Thu, 01 Sep 2022 10:40:54 +0000
- To: public-css-archive@w3.org
svgeesus has just created a new issue for https://github.com/w3c/csswg-drafts: == `<xyz-params>` fails to include `<percentage>` == (Originally reported by @mirisuzanne in Twitter DM): The [syntax for the `color()` function](https://drafts.csswg.org/css-color-4/#color-function) allows a mix of `<number>`, `<percentage>` and `none` for the RGB spaces ```html <predefined-rgb-params> = <predefined-rgb> [ <number> | <percentage> | none ]{3} ``` but has not been updated for the XYZ spaces ```html <xyz-params> = <xyz-space> [ <number> | none ]{3} ``` Despite that, [10.8. The Predefined CIE XYZ Color Spaces](https://drafts.csswg.org/css-color-4/#predefined-xyz) lists reference ranges for percents. So, the grammar should be updated to match the prose. Mixed numbers and percents in the XYZ spaces are already tested on WPT by [css-color/parsing/color-mixed-num-pct.html](https://github.com/web-platform-tests/wpt/blob/master/css/css-color/parsing/color-mixed-num-pct.html) Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7673 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 1 September 2022 10:40:56 UTC