-
Notifications
You must be signed in to change notification settings - Fork 757
Description
What do we do about SVG 2's ShadowAnimation 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.