Re: [csswg-drafts] [css-color-5] Clarification on how `channel keywords` with multiple specified types work (#7876)

I don't know why `<number>` was favored over `<percentage>` but I also find it very hard to work with.

Components as specified can have these types in RCS :
- `<number>`
- `<percentage>`
- `<angle>`

It is much harder to effectively write `calc` expressions for components because of this.

If `<percentage>` was favored it could be limited to :
- `<percentage>` (everything not `hue`)
- `<angle>` (only `hue`)

It would also be much more intuitive because `+ 10%` is "a little bit more" in any notation and for any component. Whereas `+ 1` could be out of gamut or barely noticeable.

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


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

Received on Thursday, 13 April 2023 16:39:21 UTC