Closed Bug 1846665 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 41281 - Fix LayoutBox::MayIntersect() with overflow clip margin

Categories

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

task

Tracking

()

RESOLVED FIXED
118 Branch
Tracking Status
firefox118 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Xianzhu Wang <wangxianzhu@chromium.org> wrote:

Fix LayoutBox::MayIntersect() with overflow clip margin

A positive overflow clip margin can expose overflowing contents even
though we are clipping along both axes (i.e. OverflowClipRect() can
be larger than the border box rect).

LayoutBox::HasHitTestableOverflow() is added not only for this CL,
but also for crbug.com/1453975.

Bug: 1469361
Change-Id: I9040bfe74e5027f0eb5299d036128b94368aaa73
Reviewed-on: https://chromium-review.googlesource.com/4740352
WPT-Export-Revision: ba750b6899b57389d743c45e9e78e7fca6a4f5a3

Component: web-platform-tests → Layout: Scrolling and Overflow
Product: Testing → Core
Test result changes from PR not available.
Pushed by ctuns@mozilla.com: https://hg.mozilla.org/mozilla-central/rev/5d10d02b667f [wpt PR 41281] - Fix LayoutBox::MayIntersect() with overflow clip margin, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 118 Branch
You need to log in before you can comment on or make changes to this bug.