Re: [csswg-drafts] Interpolate values between breakpoints (#6245)

> Eh, that second one should be "less than".

Not quite. There were two overlapping errors in that line - I missed that you'd applied the "clamped to 100%" to `total` as well (it should only be on `specified sum`), and the conditions should be "greater than 100%, or greater than 0% and force_normalization". The behavior we want is that, if normalization isn't being forced, the only scaling we do is to reduce a sum >100% to be exactly 100%; if normalization is being forced, then we also correct a sum < 100% to be exactly 100% (but leave a sum that's exactly 0% alone).

Fixed now.

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


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

Received on Friday, 6 June 2025 23:07:58 UTC