Re: [csswg-drafts] [css-color] Clamping component values at computed-value time vs parsing time (#7677)

Adding @emilio for Gecko concerns.

@fantasai Isn't specified to late as well? There is something called [declared value](https://www.w3.org/TR/css-cascade-5/#declared). I don't even know if that is the correct term if we want it serialized clamped in the stylesheet serialization.

Is the serialization for <color> in the CSSOM spec relevant?:

https://drafts.csswg.org/cssom/#serialize-a-css-component-value

Regarding `<alpha-value>`, we have existing interop on the opacity property _not_ being clamped for declared values. But also, we have interop on clamping `<alpha-value>` on the specified rbga() values.

See https://codepen.io/lilles/pen/YzjQEzj


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


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

Received on Friday, 13 January 2023 14:56:13 UTC