m...@chromium.org,
oj...@chromium.org
Spec
Summary
Motivation
Accurately measuring viewability is important for several use cases; deferred-loading or lazy-loading of content, infinite-scroll lists and advertising. Because there is no standard way to get viewable information across browsers, developers have built and rely on a series of browser-specific hacks and workarounds. Sites rely on scroll handlers and plugins in situations where they really aren't necessary, impacting performance. Intersection Observer addresses this need by introducing a new API to asynchronously report on the relative positions of elements without interrupting the critical paths of rendering or processing.
Compatibility Risk
Low. The rough API and use cases were received positively when meeting with other browser vendors in Paris in August. Some of the decisions around behaviors of edge cases need a fresh review though. Notes from Paris:
http://www.w3.org/2015/08/27-positionobserver-ircOngoing technical constraints
None.
Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)? Yes or no.
Yes
OWP launch tracking bug
Link to entry on the Chrome Platform Status
Requesting approval to ship?
No.