- From: Guillaume via GitHub <sysbot+gh@w3.org>
- Date: Tue, 21 May 2024 12:23:22 +0000
- To: public-css-archive@w3.org
> - Clamping at parse time instead of computed time should just affect specified style serialization It seems to affect color functions taking other colors as arguments, as reported in #10328. For example, `color(from rgb(306 0 0) srgb r 0 0)` would serialize (as a component of a declared value with) `color(from rgb(255 0 0) r 0 0)` and the computed value would be `color(srgb 1 0 0)` instead of `color(srgb 1.2 0 0)`, if I am not mistaken. It may be safer to clamp the serialized value rather than affect the parsed value. Maybe it would still be needed for a negative saturation in `hsl()` and a negative whiteness/blackness in `hwb()` (which is now specified in a hidden comment), I am not sure. -- GitHub Notification of comment by cdoublev Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7677#issuecomment-2122515559 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 21 May 2024 12:23:23 UTC