Re: [csswg-drafts] [css-color-4] Correction to ray trace to avoid throwing off our intersect calculation and match MINDE flow #10579 (#13416)

Cool, I've made the request and also updated the algorithm to better match the CSS MINDE flow. This also addresses the concern about clipping and converting to the destination space. I've updated it to follow what CSS MINDE does.

A final note, I settled on 1E-12 for the ray size threshold. It's generally recommended either 1E-9 or 1E-12 for high precision cases in double floating point. I'm probably indifferent to whichever, as I don't think there would be a significant difference.

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


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

Received on Monday, 2 February 2026 15:08:09 UTC