Re: [csswg-drafts] [css-color-4] Converting out of gamut colors to `hsl` can result in negative saturation with the sample code (#9222)

So we no longer return negative saturation.

I'm wondering whether it is better to

1. Leave hslToRgb as-is, because we no longer generate negative saturation
2. Correct negative saturation in hslToRgb as well, in case some other code produces it.

Tending towards the belt-and-braces option 2, opinions welcome

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


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

Received on Saturday, 16 December 2023 17:06:34 UTC