Description
The definition of the root intersection rectangle specifies that for intersection roots which are document viewports, it is specifically the layout viewport.
I think this should instead be the visual viewport to better align with the stated goal in the spec of "calculating element visibility".
There is a corresponding note that this choice was intentional, implying there was intent of keeping the root intersection rectangle closely related to layout dimensions (specifying that pinch zoom changes neither). If that is still true and this change is rejected, then the relationship between IntersectionObserver and layout dimensions should be better explained. The goals outlined in the spec currently sound more relevant to "what the user sees" than "how the page is laid out".
I would also be concerned that leaving this as the layout viewport would leave the "exotic plugin-based solutions" for ad impression tracking as more-effective than IntersectionObserver and discourage uptake.
Alternatively, if there are scenarios which require intersection against the layout viewport, then an option to specify layout vs. visual viewport as the root intersection rectangle could be interesting.