Closed Bug 1601666 Opened 4 years ago Closed 4 years ago

SVG - animate does not work in Shadow DOM

Categories

(Core :: SVG, defect, P3)

70 Branch
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: nt, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36

Steps to reproduce:

I want to use an SVG with animate in a ShadowDOM. This can be reproduced with the CodePen: https://codepen.io/DrNiels/pen/qBEdodN

Actual results:

The animation of the bar does not play and it remains static. Chrome shows the animation as intended

Expected results:

The SVG should be animated

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → SVG
Product: Firefox → Core

FWIW, a brief test indicates that CSS animations do work within shadow dom, so this does seem to be specific to SVG animation.

Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Depends on: 1555948

Fixed by checkin for bug 1555948

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.