Re: [csswg-drafts] [css-conditional-5][css-color] Define `style()` color comparison in more precise terms (#13157)

Earlier I wrote

> For interoperability, defining **ε** should be done in the spec, at least for `oklab`.

I still think that this is a good idea. Since serialization requires rounding to six significant figures, and the color components of `oklab` are in the range 0 to 1, we could declare **ε** to be 0.000001 for `oklab` (and, as a percentage, 100 times bigger ie 0.0001% for `alpha`)? I don't want two browsers to be giving different answers because one sets **ε** to 0.01 and the other 0.000000000001.



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


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

Received on Tuesday, 14 April 2026 17:20:49 UTC