Sign in
cobalt
/
cobalt
/
08336faa599332e3e3bf29b7ad38ef023018b55e
/
.
/
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>