mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-25 02:40:22 -10:00
Automatic update from web-platform-tests [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/c/chromium/src/+/1929643 Reviewed-by: Stefan Zager <[email protected]> Commit-Queue: Chris Harrelson <[email protected]> Cr-Commit-Position: refs/heads/master@{#717879} -- wpt-commits: dff3a6865c67b469be3b9bc1f4b318554008931b wpt-pr: 20374