Closed Bug 1763766 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 33562 - Fix hit testing under multicol under perspective

Categories

(Core :: Layout: Columns, task, P4)

task

Tracking

()

RESOLVED FIXED
101 Branch
Tracking Status
firefox101 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Xianzhu Wang <wangxianzhu@chromium.org> wrote:

Fix hit testing under multicol under perspective

The perspective transform node applies to contents so it's in
ContentsProperties() instead of LocalBorderBoxProperties().
Previously we used LocalBorderBoxProperties() to match container
and child fragment data, matching wrong container fragment data.

Also fix CollectFragments() when root_fragment_arg is specified
(when root_layer has transform or perspective). Previously
CollectFragments() mapped local fragment geometries into wrong
container fragment space (which was always the first root
fragment).

Bug: 1308752
Change-Id: I439fa84d2fe1094c02755bc69173a01857d3d186
Reviewed-on: https://chromium-review.googlesource.com/3578253
WPT-Export-Revision: f96459538b0cb1de968e3d636cd8f8c8be9e701b

Component: web-platform-tests → Layout: Columns
Product: Testing → Core
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c85be39ce9f0
[wpt PR 33562] - Fix hit testing under multicol under perspective, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 101 Branch
You need to log in before you can comment on or make changes to this bug.