Re: [csswg-drafts] [css-color-4] CSS gamut mapping algorithm pseudocode can result in infinite looping for some inputs (#6999)

> But for RGB SDR, which is what this algorithm is for

Ah, in that case, handling chroma >= 1 and <= 0 should prevent the algorithm from having such breakage. Makes sense. I didn't understand whether this was SDR specific or was meant to allow for HDR in the future, but if chroma is the only changing variable to get it in gamut, this makes sense.

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


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

Received on Wednesday, 2 February 2022 16:22:14 UTC