- From: Emilio Cobos Álvarez via GitHub <sysbot+gh@w3.org>
- Date: Fri, 27 May 2022 17:38:42 +0000
- To: public-css-archive@w3.org
emilio has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-color] color-mix() percentage normalization doesn't match animations. == One nice thing of color-mix is that you can represent the interpolated values between `currentColor` and other colors in e.g. the computed style. However, there's no way to represent the interpolated result of a fill animation because of the percentage normalization in https://drafts.csswg.org/css-color-5/#color-mix-percent-norm, which means that `color-mix(currentColor 100%, red 100%)` ends up with a different alpha rather than with a saturated color. It'd be good to be able to represent animated colors using color-mix (in the "a bit less bit of magic" sense). cc @weinig, @svgeesus, @birtles, @BorisChiou Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7324 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 27 May 2022 17:38:44 UTC