WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
246937
[css-values-5] Implement Weighted Average Notations
https://bugs.webkit.org/show_bug.cgi?id=246937
Summary
[css-values-5] Implement Weighted Average Notations
Antoine Quint
Reported
2022-10-24 02:16:43 PDT
The CSS Values and Units Level 4 spec introduces a new mix() function:
https://drafts.csswg.org/css-values-4/#interpolate
. This is useful for blending especially in situations when we can't determine how to resolve values, for instance
https://github.com/w3c/csswg-drafts/issues/2854
and our bug
https://bugs.webkit.org/show_bug.cgi?id=246914
.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-11-10 04:28:46 PST
<
rdar://problem/102188082
>
Antoine Quint
Comment 2
2025-08-22 01:39:39 PDT
The `mix()` function has been removed and there is now a group of "Weighted Average Notations" in css-values-5:
https://drafts.csswg.org/css-values-5/#mixing
. - calc-mix(), for mixing <number>, <length>, <percentage>, <time>, and other dimensions representable in calc() expressions - transform-mix(), for mixing <transform-list>s - color-mix(), for mixing <color> values (see [css-color-5]) - cross-fade(), for mixing <image> values (see [css-images-4]) - palette-mix(), for mixing font-palette values (see [css-fonts-4])
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug