blob: 25db5a29d8a917916d0b2012f8f790ea9178e681 [file] [log] [blame]
<!DOCTYPE html>
<div id="target"></div>
<script>
const observer = new IntersectionObserver(records => {
window.top.postMessage(records[0].rootBounds, "*");
}, {});
observer.observe(target);
</script>