Closed Bug 1547686 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 16548 - [IntersectionObserver] Handle hit test of inline targets correctly

Categories

(Core :: Layout, defect, P4)

defect

Tracking

()

RESOLVED FIXED
mozilla69
Tracking Status
firefox69 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Stefan Zager <szager@chromium.org> wrote:

[IntersectionObserver] Handle hit test of inline targets correctly

If a target element is inline, then the hit testing code traverses
through the line box tree of the containing LayoutBlockFlow, which
won't check the stop node set on the HitTestRequest.

If the hit test result is an inline element inside the target node,
that should be treated the same as hitting the target node.

BUG=951384
R=chrishtr@chromium.org

Change-Id: Id0a3a1f6c57d883ce10680e664c054783e30b001
Reviewed-on: https://chromium-review.googlesource.com/1584717
WPT-Export-Revision: 795340d28150c43254f4f79a6f5f50950d636996

Component: web-platform-tests → Layout
Product: Testing → Core
Failed to get results from try push
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/586f204b8a36
[wpt PR 16548] - [IntersectionObserver] Handle hit test of inline targets correctly, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
You need to log in before you can comment on or make changes to this bug.