[csswg-drafts] [css-color-5] Only `hsl` and `hwb` have channel values as percentages in RCS (#9016)

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

== [css-color-5] Only `hsl` and `hwb` have channel values as percentages in RCS ==
I was going over the list of changes in `css-color-5` and I noticed that only `hsl` and `hwb` have channel keywords that have percentage values.

Both however also allow number values as regular arguments.  
In `css-color-5` these are both valid and equal :
- `hwb(90deg 25% 25%)`
- `hwb(90deg 25 25)`

@svgeesus is there a reason not to give the channel keywords the number type?
That would make these two color functions more consistent with every other color function.

- https://drafts.csswg.org/css-color-5/#relative-HSL
- https://drafts.csswg.org/css-color-5/#relative-HWB

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


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

Received on Thursday, 29 June 2023 15:36:00 UTC