Closed Bug 1710035 Opened 4 years ago Closed 3 years ago

[wpt-sync] Sync PR 28893 - Update compositing inputs when a child is added to empty layer

Categories

(Core :: Web Painting, task, P4)

task

Tracking

()

RESOLVED FIXED
90 Branch
Tracking Status
firefox90 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Wanchang Ryu <wanchang.ryu@lge.com>' wrote:

Update compositing inputs when a child is added to empty layer

When a html element is added to the empty layer it doesn't update
compositing inputs and it failed to update |draws_content_| of
|GraphicsLayer| therefore it is skipped for painting since
|draw_contents| is remained as false.

This patch compares between current and previous
|ContainsPaintedContent| then update compositing inputs if changed.

Change-Id: I64de5629db24304517b67913b1ba61873a4ae54b
Reviewed-on: https://chromium-review.googlesource.com/2866707
WPT-Export-Revision: 63782253ebe034a1e86fdfd3a990c26672e2500e

Component: web-platform-tests → Web Painting
Product: Testing → Core

CI Results

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

Total 1 tests

Status Summary

Firefox

PASS: 1

Chrome

FAIL: 1

Safari

PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/bbc5f8181f2e [wpt PR 28893] - Add a test case for adding a layer into empty composited layer, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
You need to log in before you can comment on or make changes to this bug.