Closed Bug 1526422 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 15168 - [PE] Update background obscuration and check for change during PrePaint

Categories

(Core :: Layout, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Xianzhu Wang <wangxianzhu@chromium.org> wrote:

[PE] Update background obscuration and check for change during PrePaint

Background obscuration status is affected by many factors. Previously
we cached the status, but invalidation of the cache was not complete,
and it was difficult to keep it complete.

Now we update background obscuration status during PrePaint, whenever
the object is marked for any reason for PrePaintTreeWalk, which should
cover all conditions that cause background obscuration change.

Bug: 916050
Change-Id: Id044c9e724940f7a83c8dfc1aca8f3dde3526e96
Reviewed-on: https://chromium-review.googlesource.com/c/1444300
Commit-Queue: Xianzhu Wang \<wangxianzhu@chromium.org>
Reviewed-by: Chris Harrelson \<chrishtr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#627993}

Component: web-platform-tests → Layout
Product: Testing → Core
Ran 1 tests
PASS   : 1
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/c23a93169e07
[wpt PR 15168] - [PE] Update background obscuration and check for change during PrePaint, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.