Closed Bug 1704668 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 28449 - Fix surface layer size for remote frames

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
89 Branch
Tracking Status
firefox89 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Xianzhu Wang <wangxianzhu@chromium.org>' wrote:

Fix surface layer size for remote frames

Previously the size was the size of compositor_rect which may be smaller
than the iframe's replaced content size. Now use the frame size.

In pre-CompositeAfterPaint the incorrect initial size will be
overridden later by CompositeLayerMapping/GraphicsLayer with the size
of the iframe replaced content (which is correct), but in
CompositeAfterPaint the incorrect initial bounds will be actually used.

Bug: 1193490
Change-Id: I793cb28f44ce3da8078563a259e9a3a22609d79a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2818906
Reviewed-by: Stefan Zager \<szager@chromium.org>
Commit-Queue: Xianzhu Wang \<wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#871694}

Component: web-platform-tests → DOM: Core & HTML
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

PASS: 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/7e52d114297a
[wpt PR 28449] - Fix surface layer size for remote frames, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch
You need to log in before you can comment on or make changes to this bug.