https://wpt.fyi/results/intersection-observer/target-in-detached-document.html?label=experimental&label=master&aligned
The test creates a detached document and observes an element inside of that document with the implicit root, then expects there is no initial notification. Chrome passes this test, while Firefox and Safari do not. The spec does not seem to have any special handling for this case:
If the intersection root is not the implicit root, and target is not in the same document as the intersection root, skip to step 11.
There's no step that handles the case when the implicit root is present, so it looks like we should generate an initial notification.
https://wpt.fyi/results/intersection-observer/target-in-detached-document.html?label=experimental&label=master&aligned
The test creates a detached document and observes an element inside of that document with the implicit root, then expects there is no initial notification. Chrome passes this test, while Firefox and Safari do not. The spec does not seem to have any special handling for this case:
There's no step that handles the case when the implicit root is present, so it looks like we should generate an initial notification.