It shouldn't matter whether from the same-origin iframe point of view whether the polyfill was loaded in the mainframe or subframe: they should work the same in terms of rootBounds and all other logic.
E.g. the following snippets should work similar from the point of view of most of Intersection Observer API when observing the element <div id=one>:
It shouldn't matter whether from the same-origin iframe point of view whether the polyfill was loaded in the mainframe or subframe: they should work the same in terms of
rootBounds
and all other logic.E.g. the following snippets should work similar from the point of view of most of Intersection Observer API when observing the element
<div id=one>
: