Closed Bug 2083851 Opened 1 month ago Closed 24 days ago

[wpt-sync] Sync PR 63865 - [iframe] Allow responsive iframes to shrink

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Koji Ishii <kojii@chromium.org> wrote:

[iframe] Allow responsive iframes to shrink

LocalFrameView::layout_overflow_size_ always unites its own
padding_rect_, which prevents responsive iframes to shrink.

This patch adds layout_overflow_size_without_padding_box_,
which is computed during the existing single pass in
ScrollableOverflowCalculator(), and uses it in
LocalFrameView::RecordNaturalDimensions().

This change is guarded by the runtime feature flag
ResponsiveIframesShrink, enabled by default.

Fixed: 570579609
Change-Id: Id735425797219a24700272fcfca3f29b7cf44c8c

Reviewed-on: https://chromium-review.googlesource.com/8584857
WPT-Export-Revision: 7d97a9e909557f425be00549c5a7d82801750839

Component: web-platform-tests → Layout
Product: Testing → Core

CI Results

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

Total 64 tests

Status Summary

Firefox

OK : 14[GitHub] 46[Gecko-linux2404-64-opt] 47[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS : 1[GitHub] 15[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 22[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL : 13[GitHub] 41[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 50[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
TIMEOUT: 1
ERROR : 1[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 2[Gecko-linux2404-64-opt]

Chrome

OK : 14
PASS : 7
FAIL : 7

Safari

OK : 14
PASS : 1
FAIL : 13

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Status: NEW → RESOLVED
Closed: 24 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.