Re: [csswg-drafts] Support Cross-Origin iframe use case (#4344)

Unlike a single intersection observer, this provides the exact position of the subframe within the parent page. However, I think you might be able to get the same information by constructing a bunch of intersection observers with various `rootMargin` values.

@fantasai This might be something we could support with a view timeline, however unlike [view timeline which observes the nearest ancestor scroller to the subject](https://drafts.csswg.org/scroll-animations-1/#viewtimeline-interface) I feel like this wants to observe the root scroller. Observing position across multiple scrollers feels like something we should defer for a subsequent version of the scroll-animations spec.

-- 
GitHub Notification of comment by flackr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4344#issuecomment-1210708271 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 10 August 2022 13:54:16 UTC