Re: [csswg-drafts] [css-color-4] Define epsilon (or range of valid epsilons) for determining when Lab/OKLab should be considered achromatic (#11706)

Thanks for filing this Sam! 

I think the balance here is that too small an epsilon and we get precision errors, too large and we get bugs like the one I spent nearly all of my workday on today 🫠

However, we can definitely do better. At the very least we should say that the exact epsilon should be color space specific, and consider the extent of each coordinate. And hopefully define some bounds, so that the behavior is testable.

cc @svgeesus 

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


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

Received on Friday, 14 February 2025 05:07:13 UTC