Skip to content

[web-animations-1] [svg-2] Replacement for ShadowAnimation #4427

@george-steel

Description

@george-steel

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions