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

Firefox has improved since:

<img width="1823" height="474" alt="Image" src="https://github.com/user-attachments/assets/5235396b-be44-4c40-9f53-4cff7812acfc" />

> I propose we define a rule similar to interpolation in which we first convert colors to the same color space and compare component-wise following [powerless component](https://drafts.csswg.org/css-color/#powerless) rules too.

That seems like a very good way forward, it is consistent with how we deal with disparate color spaces elsewhere and avoids surprises.

Which spec would be a good home for this?

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


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

Received on Monday, 23 March 2026 20:43:01 UTC