Bug
1770188 [wpt PR 34128] - Fix visualViewport page values in iframe, a=testonly
Automatic update from web-platform-tests
Fix visualViewport page values in iframe (#34128)
The visualViewport in an iframe should be entirely independent of the
visualViewport of the root frame. Unfortunately pageLeft/pageTop
erroneously add the root frame's viewport offsets to the document
offset, even when inside an iframe. This CL fixes the issue so that
iframe's report only the document offset (since an iframe cannot be
zoomed, its visualViewport cannot have its own offset).
Bug:
1313970
Change-Id: I917bf72f645d105cdde86bf186e7bebd3741247e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/
3651641
Commit-Queue: David Bokan <bokan@chromium.org>
Reviewed-by: Dave Tapuska <dtapuska@chromium.org>
Cr-Commit-Position: refs/heads/main@{#
1011212}
Co-authored-by: David Bokan <bokan@chromium.org>
--
wpt-commits:
b514eb2e2e97f381b5ef7cc9746dd45c90d87c77
wpt-pr: 34128