Re: [csswg-drafts] [css-color-4] Gamut mapping pseudocode is confusing (#10226)

I'm going to assume that the answer for that particular example is that if `min_inGamut` is false and `inGamut(current)` is true, the loop should terminate and return `clipped` immediately because otherwise no change is actually made to the loop parameters so the loop would continue indefinitely. But this feels like it should be clarified in the pseudocode.

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


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

Received on Wednesday, 17 April 2024 23:39:47 UTC