Closed Bug 1764389 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 33614 - Avoid unnecessary calls to paint invalidation.

Categories

(Core :: Layout: Images, Video, and HTML Frames, task, P4)

task

Tracking

()

RESOLVED FIXED
102 Branch
Tracking Status
firefox102 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream error])

Sync web-platform-tests PR 33614 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/33614
Details from upstream follow.

Kevin Ellis <kevers@google.com> wrote:

Avoid unnecessary calls to paint invalidation.

Previously, any background color change during style resolution
triggered paint invalidation regardless of whether the change is
triggered by a composited animation. We now check if the color change
has a native paint worklet before deciding if paint invalidation should
be performed. In the event of a main thread background-color animation,
we prevent spinning needlessly on building a native worklet paint image
by caching whether the animation can be composited.

Bug: 1301961

Change-Id: I02a9b33267592590321af6d6c0e4da7cfbee2cc9
Reviewed-on: https://chromium-review.googlesource.com/3542797
WPT-Export-Revision: ee03f450bd943f5006f92885f6ff023469f80f69

Component: web-platform-tests → Layout: Images, Video, and HTML Frames
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 2 tests

Status Summary

Firefox

PASS: 2

Chrome

PASS: 1
FAIL: 1

Safari

PASS: 2

Links

GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9cbc87d1f750
[wpt PR 33614] - Avoid unnecessary calls to paint invalidation., a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
You need to log in before you can comment on or make changes to this bug.