[wpt-sync] Sync PR 27747 - Call CheckCanStartAnimationOnCompositor at paint
Categories
(Core :: Layout: Images, Video, and HTML Frames, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox88 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 27747 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/27747
Details from upstream follow.
b'Xida Chen <xidachen@chromium.org>' wrote:
Call CheckCanStartAnimationOnCompositor at paint
Note: this is for background-color animation only, not for other
properties.When composite background-color animation, the paint stage collect
some parameters such as animated colors for the animation. If this
step is successful, then we will paint the element off the main
thread. After that, we can have CheckCanStartAnimationOnCompositor
returning false and refuse to run the background-color animation
on the compositor thread. In this case, the paint of the element
off the main thread won't work.So in this CL, we call CheckCanStartAnimationOnCompositor during
the paint step. This ensures the consistency of the paint and
compositor animation.Bug: 1178987
Change-Id: I737b1e290730637977bc6fcff65cab9b4651aa8a
Reviewed-on: https://chromium-review.googlesource.com/2713344
WPT-Export-Revision: 3db332d79265b0bd42738fb7ff544bd3726f8f70
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=2b6235c75395f8632ba3c1d674ad39f5ed6ba091
Assignee | ||
Comment 2•3 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests
Status Summary
Firefox
PASS: 1
Chrome
PASS: 1
Safari
PASS: 1
Links
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e4b1504e5906 [wpt PR 27747] - Call CheckCanStartAnimationOnCompositor at paint, a=testonly
Comment 4•3 years ago
|
||
bugherder |
Description
•