Re: [csswg-drafts] [css-color-5] clipping of component values in RCS (#9259)

> When parsing any color we clip specific components.

> `hsl(50deg -10% 50%)` is clipped to `0%` saturation.

> https://www.w3.org/TR/css-color-3/#hsl-color

Why are you citing CSS Color 3, which was restricted to the sRGB gamut? The [current definition of HSL is in  CSS Color 4](https://drafts.csswg.org/css-color-4/#the-hsl-notation), which has no clipping on HSL values. [RCS of HSL is in CSS Color 5](https://drafts.csswg.org/css-color-5/#relative-HSL) and again has no clipping (but does have hue angle normalization).

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


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

Received on Tuesday, 29 August 2023 12:29:10 UTC