Make sure lifecycle updates proceed enough for IntersectionObserver
IntersectionObserver may require sticky position information, so if a lifecycle update is forced by IntersectionObserver, make sure it proceeds far enough to update sticky position. As noted in the code comments, even if sticky position update is moved up to the layout phase (which is planned, I think), if the document is servicing any IntersectionObservers with track_visibility=true (i.e. V2 features), then we will still need to force the lifecycle update to continue far enough to enable hit testing. That's the root cause of the bug. Bug: 1156937 Change-Id: I809d822d7abf0789aea97113bc87907fdd11b345 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2583159 Commit-Queue: Stefan Zager <szager@chromium.org> Reviewed-by:Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/master@{#836900}
Showing
Please register or sign in to comment