[wpt-sync] Sync PR 20374 - [IntersectionObserver] Check containing block chain for stop node
Categories
(Core :: Layout, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox72 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 20374 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/20374
Details from upstream follow.
Chris Harrelson <chrishtr@chromium.org> wrote:
[IntersectionObserver] Check containing block chain for stop node
When doing a hit test to measure occlusion, the code previously
assumed that the hit test logic would always prevent descending into
the subtree of the stop node. That's not the case when parent and
child positioned objects are in the same stacking context and the
parent positioned object is the stop node. In that case the subtree
of the child positioned object will be traversed before the parent
positioned object.When a hit is identified, we need to explicitly check whether it's a
containing block descendant of the stop node; and if so, reject the
hit.NOTE: this is a clone of
https://chromium-review.googlesource.com/c/chromium/src/+/1914537
that I'm committing on behalf of szager@BUG=1020784
Change-Id: Ic9270d7b6491be1b3364131fb20cd120fbb6d272
Reviewed-on: https://chromium-review.googlesource.com/1929643
WPT-Export-Revision: 528c0489964d521057bcfeffafdd0b0635bfccec
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=4ebdb34ff8b224c377c1c7161eecda7cec8682a7
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/651db543f34c [wpt PR 20374] - [IntersectionObserver] Check containing block chain for stop node, a=testonly https://hg.mozilla.org/integration/autoland/rev/294914c68c3b [wpt PR 20374] - Update wpt metadata, a=testonly
Assignee | ||
Comment 3•4 years ago
|
||
Test result changes from PR not available.
Comment 4•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/651db543f34c
https://hg.mozilla.org/mozilla-central/rev/294914c68c3b
Description
•