Bug 1681643 [wpt PR 26831] - [IntersectionObserver] Don't allow cross-document explic...
commit65f8b3d2b38b45487a71bd7e9d43fdc34b28822d
authorStefan Zager <szager@chromium.org>
Tue, 15 Dec 2020 18:20:33 +0000 (15 18:20 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Thu, 17 Dec 2020 13:30:50 +0000 (17 13:30 +0000)
tree38a115e71b7305fe6a4bccb66a85fa4e97155f31
parentf0c94e2a0c5124756c3d8547291af9bf2b20bdad
Bug 1681643 [wpt PR 26831] - [IntersectionObserver] Don't allow cross-document explicit root, a=testonly

Automatic update from web-platform-tests
[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}

--

wpt-commits: 7ac57afffe913350ea699c0614c362d86eb3e50e
wpt-pr: 26831
testing/web-platform/tests/intersection-observer/cross-document-root.html [new file with mode: 0644]