w3c / IntersectionObserver

Intersection Observer
https://www.w3.org/TR/intersection-observer/
Other
3.62k stars 526 forks source link

iframed inob: top should be in reference to Window #466

Closed samouri closed 3 years ago

samouri commented 3 years ago

Does this test case demonstrate a bug?

Assuming an InOb within an iframe that is tracking the viewport (root=null), if the iframe is fixed position and top:100, then I'd expect the intersection within it at y=0 to have an intersection rect with y=100.

cc @dvoytenko

samouri commented 3 years ago

Closing. @dvoytenko filed the related bugs: