Closed Bug 1806680 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 37604 - Overflow: Align ShouldApplyOverflowClipMargin with clip calculations

Categories

(Core :: Layout: Scrolling and Overflow, task, P4)

task

Tracking

()

RESOLVED FIXED
110 Branch
Tracking Status
firefox110 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Vladimir Levin <vmpstr@chromium.org> wrote:

Overflow: Align ShouldApplyOverflowClipMargin with clip calculations

Due to recent changes in how overflow clip axis is computed (to allow
replaced overflow), ShouldApplyOverflowClipMargin is out of date.
This patch aligns with that, first by detecting the default value
properly and also using RepsectsCSSOverflow to ensure that overflow
clip margin only has an effect if the element respects the overflow

R=szager@chromium.org, khushalsagar@chromium.org

Fixed: 1395519
Change-Id: I926009cc5316d01d9e5dbc9681f20f124b5fe229
Reviewed-on: https://chromium-review.googlesource.com/4117831
WPT-Export-Revision: 4484e537985cbe9ff7261d0d4fa0af0f0c2ba431

Component: web-platform-tests → Layout: Scrolling and Overflow
Product: Testing → Core

CI Results

Ran 9 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/2d1ae2e40437 [wpt PR 37604] - Overflow: Align ShouldApplyOverflowClipMargin with clip calculations, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 110 Branch
You need to log in before you can comment on or make changes to this bug.