Closed
Bug 1439279
Opened 7 years ago
Closed 7 years ago
Drop needless requestAnimationFrame in reftests for animations
Categories
(Core :: DOM: Animation, enhancement)
Core
DOM: Animation
Tracking
()
RESOLVED
FIXED
mozilla60
Tracking | Status | |
---|---|---|
firefox60 | --- | fixed |
People
(Reporter: hiro, Assigned: hiro)
References
Details
Attachments
(3 files)
There are lots of unnecessary requestAnimationFrame in reftests for animations. I am suspecting it's one of the reasons that some reftests fail on WebRender. That's because if there is an unnecessary requestAnimationFrame, there are cases that we wait for a MozAfterPaint for the paint that no invalidation changes happened. (e.g. both from and to keyframes are the same value).
We should drop requestAnimationFrame to get a MozAfterPaint event for the case where invalidation changes happen (i.e. right after style changes happen).
Assignee | ||
Comment 1•7 years ago
|
||
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 6•7 years ago
|
||
mozreview-review |
Comment on attachment 8952042 [details]
Bug 1439279 - Drop needless requestAnimationFrame that waits for applying new transition.
https://reviewboard.mozilla.org/r/221264/#review227114
Attachment #8952042 -
Flags: review+
Comment 7•7 years ago
|
||
mozreview-review |
Comment on attachment 8952043 [details]
Bug 1439279 - Append animating element after animation gets ready.
https://reviewboard.mozilla.org/r/221266/#review227116
Attachment #8952043 -
Flags: review+
Comment 8•7 years ago
|
||
mozreview-review |
Comment on attachment 8952044 [details]
Bug 1439279 - Drop needless requestAnimationFrame in reftest for web-animation.
https://reviewboard.mozilla.org/r/221268/#review227118
Attachment #8952044 -
Flags: review+
Updated•7 years ago
|
Flags: needinfo?(bbirtles)
Assignee | ||
Comment 9•7 years ago
|
||
Thank you for the quick reviews!
Comment 10•7 years ago
|
||
Pushed by hikezoe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b37d7ac91008
Drop needless requestAnimationFrame that waits for applying new transition. r=birtles
https://hg.mozilla.org/integration/autoland/rev/04c3f7e2f6fe
Append animating element after animation gets ready. r=birtles
https://hg.mozilla.org/integration/autoland/rev/fc7f1c7fb157
Drop needless requestAnimationFrame in reftest for web-animation. r=birtles
Comment 11•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b37d7ac91008
https://hg.mozilla.org/mozilla-central/rev/04c3f7e2f6fe
https://hg.mozilla.org/mozilla-central/rev/fc7f1c7fb157
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox60:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
You need to log in
before you can comment on or make changes to this bug.
Description
•