[IntersectionObserver] Don't allow cross-document explicit root
This fixes an bug with the recently-added feature to allow an observer's explicit root to be a document. In such cases, if a target element is not in the root document, it should be reported as "not intersecting". Change-Id: Iea6bc2444fc5b2bf2dca50cf242d46324a502dbf Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2583217 Commit-Queue: Stefan Zager <szager@chromium.org> Auto-Submit: Stefan Zager <szager@chromium.org> Reviewed-by:Chris Harrelson <chrishtr@chromium.org> Cr-Commit-Position: refs/heads/master@{#835786}
Showing
Please register or sign in to comment