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

For HWB, both the initial clamp of w and b to [0%, 100%] but also the further normalization on the sum of w and b should be at parse time, right?

>  If the sum of these two arguments is greater than 100%, then at computed-value time they are further normalized to add up to 100%, with the same relative ratio.

This isn't directly observable, but the specified value (which is in `rgb()`) shows that this normalization must have taken place.

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


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

Received on Thursday, 12 January 2023 13:59:47 UTC