- From: andruud via GitHub <sysbot+gh@w3.org>
- Date: Tue, 12 Sep 2023 09:10:33 +0000
- To: public-css-archive@w3.org
andruud has just created a new issue for https://github.com/w3c/csswg-drafts:
== [css-values-4] mix() can not represent composition ==
For example, this requires a mix between _three_ values:
```
@keyframes anim {
from {
offset-distance: min(10px, 10%);
}
to {
animation-composition: add;
offset-distance: min(20px, 20%);
}
}
div {
offset-distance: min(30px, 30%);
animation: anim 10s -1s linear paused;
}
```
The computed value should be something like `calc(min(30px, 30%) * 0.1 + min(10px, 10%) * 0.9 + min(20px, 20%) * 0.1)`, which `mix()` isn't able to represent.
See also https://github.com/w3c/csswg-drafts/issues/9341.
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9342 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 12 September 2023 09:10:36 UTC