Sign in
chromium
/
external
/
github.com
/
web-platform-tests
/
wpt
/
refs/heads/intersection-observerFix
/
.
/
intersection-observer
/
resources
/
same-origin-grand-child-iframe.html
blob: 25db5a29d8a917916d0b2012f8f790ea9178e681 [
file
] [
log
] [
blame
] [
edit
]
<!DOCTYPE html>
<div
id
=
"target"
></div>
<script>
const
observer
=
new
IntersectionObserver
(
records
=>
{
window
.
top
.
postMessage
(
records
[
0
].
rootBounds
,
"*"
);
},
{});
observer
.
observe
(
target
);
</script>