-
Notifications
You must be signed in to change notification settings - Fork 689
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Two "variants" of color-mix()
??
#10573
Comments
This was added in 0d8967a, which references the related discussions, especially #6245 (comment). Sebastian |
Thanks for digging up the ref, @SebastianZ! Yes, we discussed this last year; the reasoning is to give all the mixing functions a consistent grammar form so they can all benefit from all the mixing features, even if they have a legacy grammar that looks a little different. |
Thanks, @SebastianZ and @tabatkins So, are any browsers implementing this, or expressing interest? |
At the moment, all of the mix functions are not yet implemented. But the mix functions in general have implementor interest; we needed them to solve font palette mixing, for example. |
The "new" variant has an optional |
In CSS Values 5 I was astonished to read 5.3. Interpolated Color Values: the
color-mix()
notationWhy is there a second "variant" of
color-mix()
defined, with zero discussion that I can recall, which is merely a permutation of the parameter order, and has zero tests in WPT, unlike the other "variant" which is widely implemented, with 1510 tests in WPT and part of Interop 2023?The text was updated successfully, but these errors were encountered: