W3C home > Mailing lists > Public > public-css-archive@w3.org > September 2019

[csswg-drafts] [css-backgrounds-3] Clarification on animation additive composite behavior for box-shadow (#4330)

From: Stephen McGruer via GitHub <sysbot+gh@w3.org>
Date: Wed, 18 Sep 2019 19:52:43 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-495423275-1568836361-sysbot+gh@w3.org>
stephenmcgruer has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-backgrounds-3] Clarification on animation additive composite behavior for box-shadow ==
Currently the spec for box-shadow (https://drafts.csswg.org/css-backgrounds/#box-shadow) does not appear (to my quick reading) to give any instructions for additive composition (https://drafts.csswg.org/web-animations-1/#effect-composition) when animating.

In the absence of a behavior for addition, the fallback is to use replace (https://drafts.csswg.org/css-values-4/#combining-values).

Firefox instead appears to implement box-shadow interpolation as list concatenation, as shown by https://output.jsbin.com/pikiguv. Chrome appears to do component-wise addition. Which, if either, is correct?

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4330 using your GitHub account
Received on Wednesday, 18 September 2019 19:52:45 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:53 UTC