Sign in
cobalt
/
cobalt
/
844f64e7fc64ade74c091fe8e669ea1d78157045
/
.
/
src
/
third_party
/
web_platform_tests
/
intersection-observer
/
resources
/
same-origin-grand-child-iframe.html
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>