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

[csswg-drafts] [web-animations-1] [svg-2] Replacement for ShadowAnimation (#4427)

From: George Steel via GitHub <sysbot+gh@w3.org>
Date: Wed, 16 Oct 2019 20:43:05 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-508088323-1571258584-sysbot+gh@w3.org>
george-steel has just created a new issue for https://github.com/w3c/csswg-drafts:

== [web-animations-1] [svg-2] Replacement for ShadowAnimation ==
What do we do about SVG 2's [`ShadowAnimation`](https://svgwg.org/svg2-draft/single-page.html#struct-InterfaceShadowAnimation) interface now that the WebAnimations spec no longer provides KeyframeEffectReadOnly? Another problem is that with the specification of GroupEffect, an Animation no longer necessarily targets a single element, thus the original semantics of ShadowAnimation don't make sense as there is no single element to retarget.

One way to resolve would be to replace the ShadowAnimation interface by adding an `affectsClones` option to KeyframeEffect, which controls whether the animation also affects the target's clones in `<svg:use/>` shadow trees (clones are not webexposed due to closed shadow dom, thus we can't get their animations). For compatibility with current behavior, this defaults to true and it set to false when creating a CSSTransition or CSSAnimation.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4427 using your GitHub account
Received on Wednesday, 16 October 2019 20:43:06 UTC

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