- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Tue, 01 Apr 2025 19:52:25 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `[css-values-5] Should all interpolation functions have a mixing version?`, and agreed to the following: * `RESOLVED: Close as retracted by OP` <details><summary>The full IRC log of that discussion</summary> <fantasai> TabAtkins: Lea raised this issue.<br> <fantasai> TabAtkins: We previously had give color-mix() two syntaxes, and Lea asked if we need to be consistent with other mixing and interpolation things.<br> <fantasai> TabAtkins: our conclusion was, yes, we should, all of the functions should be paired<br> <fantasai> TabAtkins: and we resolved on that in the other issue<br> <fantasai> lea: That was when they had the same function name<br> <fantasai> TabAtkins: yes. Now we have mix() matching color-mix() and map() doing new thing<br> <fantasai> TabAtkins: I think we can close this as obsoleted by the interpolation issue<br> <oriol> What's the issue for map()?<br> <fantasai> https://github.com/w3c/csswg-drafts/issues/6245<br> <fantasai> lea: This is a different issue than we discussed earlier<br> <fantasai> lea: especially now that we don't have mix() version of all things, question is do we still need mixign functions?<br> <fantasai> lea: We have color-mix() for colors, but do we need e.g. calc-mix()?<br> <miriam> q+<br> <fantasai> TabAtkins: The same motivation for mix colors at different weights, might want to do with other types of values: images, lengths, etc.<br> <fantasai> lea: so it's a weighted average<br> <fantasai> TabAtkins: exactly. mix() functions do weighted averages, and map() does interpolation scales<br> <fantasai> lea: I guess<br> <fantasai> TabAtkins: Proposal in 6245 is that all of the relevant functions have both mix() and map() variant<br> <fantasai> lea: OK, I guess fine<br> <astearns> ack miriam<br> <fantasai> miriam: Other use case requested that this helps with is being able to interpolate a font size between 2 values and follow an easing curve, so mix() gives you easing curve that you get with calc<br> <fantasai> lea: but interpolation function is different. this is separate<br> <fantasai> TabAtkins: interpolation function lets you interpolate between 2 values (possibly along a chain of values)<br> <fantasai> TabAtkins: but that's different from mix()<br> <fantasai> RESOLVED: Close as retracted by OP<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11531#issuecomment-2770531953 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 1 April 2025 19:52:26 UTC