- From: Chris Lilley via GitHub <noreply@w3.org>
- Date: Tue, 19 Aug 2025 14:25:56 +0000
- To: public-css-archive@w3.org
The CSS Working Group just [discussed](https://www.w3.org/2025/08/19-css-color-minutes.html#72d5) `[css-values-4][css-color-5] Define that color interpolation uses color-mix() if necessary` and agreed to the following: * `RESOLUTION: Use color-mix() to serialize any interpolation that can't be resolved at computed-value time` <details><summary>The full IRC log of that discussion</summary> TabAtkins: Values 4 says that colors are interpolated in sRGB. Colors 4 defined actual interpolation <br> TabAtkins: but neither says what to do if currentColor is involved, b/c it can only be resolved at computed value time <br> TabAtkins: for any cases that can't be resolved, we should use color-mix() to serialize <br> lea: makes sense <br> ChrisL: yes <br> TabAtkins: +1 from Kevin also <br> TabAtkins: How does it work for AccentColor? <br> ChrisL: system colors resolve to sRGB values and then you can mix them <br> TabAtkins fantasai: ideally all the system colors would be like currentcolor, but i think we resolved it's too much work <br> TabAtkins lea: why is that ideal? <br> TabAtkins fantasai: some practical reasons, dunno <br> TabAtkins: also some compat issues e.g. around CanvasText and Canvas for initial colors <br> TabAtkins lea: but if you change color-scheme, the system colors shoudl change, yeah? <br> TabAtkins fantasai: Right, that's not how they work today. <br> fantasai: if you inherit a system color into an element with a different color-scheme, it won't change in response <br> fantasai: even though maybe you'd want it to <br> RESOLUTION: Use color-mix() to serialize any interpolation that can't be resolved at computed-value time <br> (currently just currentColor mixes) <br> </details> -- GitHub Notification of comment by svgeesus Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12292#issuecomment-3200993460 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 19 August 2025 14:25:57 UTC