Closed Bug 866411 Opened 11 years ago Closed 6 months ago

When reinserted into the DOM, an element is rendered without animation effects on first frame

Categories

(Core :: SVG, defect)

x86_64
Windows 7
defect

Tracking

()

RESOLVED FIXED
120 Branch
Tracking Status
firefox120 --- fixed

People

(Reporter: 0mechelk+mozilla, Assigned: longsonr, NeedInfo)

References

(Blocks 1 open bug, Regressed 1 open bug)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0
Build ID: 20130409194949

Steps to reproduce:

The problem is illustrated in this jsfiddle:
http://jsfiddle.net/8bDMS/9/



Actual results:

When an element with an active animation is reinserted into the DOM by appendChild, the animation effect is not shown on at least the first frame. This causes a very noticeable flicker.


Expected results:

The animation effect should be applied to the element before it is drawn on the screen.
Depends on: 534316
ni? to me.
Flags: needinfo?(hiikezoe)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(hiikezoe)
Flags: needinfo?(hiikezoe)
Severity: normal → S3
Depends on: 738574
Assignee: nobody → longsonr
Status: NEW → ASSIGNED
Pushed by longsonr@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/954b734084c2
copy animation effects when cloning a use element r=emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/42182 for changes under testing/web-platform/tests
Blocks: 738574
No longer depends on: 738574
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch
Upstream PR merged by moz-wptsync-bot
Depends on: 1843883
No longer depends on: 534316
Regressions: 1858792
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: