Closed Bug 1902356 Opened 4 months ago Closed 4 months ago

[wpt-sync] Sync PR 46736 - Zoom iframe contents according to CSS zoom on iframe element

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
129 Branch
Tracking Status
firefox129 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Stefan Zager <szager@chromium.org> wrote:

Zoom iframe contents according to CSS zoom on iframe element

Zoom factor is set on a root LocalFrame by its corresponding
WebFrameWidget, and previously the root frame would turn around and
apply the same zoom factor to all of its descendant frames without
regard for CSS zoom values on the \<iframe> element in the embedding
document. With this change, CSS zoom value on an \<iframe> multiplies
the frame-level zoom factor of the embedded document.

One result of this change is that zoom factor is no longer propagated
synchronously down the frame tree: a style update is required to
propagatee zoom factor down the frame hierarchy.

Bug: chromium:329482480
Change-Id: I729d559264afe8edb4fef7bc3b18304b71581625
Reviewed-on: https://chromium-review.googlesource.com/5564200
WPT-Export-Revision: d470f0227a4e6e332b225ffc033a4822f384c8ff

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core

CI Results

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

Total 2 tests

Status Summary

Firefox

FAIL: 2

Chrome

FAIL: 2

Safari

FAIL: 2

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c4e90e1b9b08 [wpt PR 46736] - Zoom iframe contents according to CSS zoom on iframe element, a=testonly
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
You need to log in before you can comment on or make changes to this bug.