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

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