[csswg-drafts] [css-values-5] Computed (vs used) value of mix() functions (#12290)

fantasai has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-values-5] Computed (vs used) value of mix() functions ==

The mix() family of functions compute a weighted average from a list of items and corresponding percentages.

Some mix() functions can be computed through to a final value, but others (e.g. calc-mix() combining percentages and lengths) cannot until used value time.

When they cannot be computed to a single value, should these functions:
- Simplify as much as possible given the information available, potentially collapsing some items in the list but not others?
- Or simplify each argument individually, preserving the number of items in the list?

Tab and I are currently specifying the latter option, but wanted to hear from others.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12290 using your GitHub account


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

Received on Thursday, 5 June 2025 19:00:28 UTC