Intent to Prototype: Intersection Observer Scroll Margin

136 views
Skip to first unread message

Traian Captan

unread,
Sep 15, 2023, 1:35:24 AM9/15/23
to blink-dev

Contact emails

tca...@chromium.org

Explainer

None

Specification

https://w3c.github.io/IntersectionObserver/#dom-intersectionobserver-scrollmargin

Summary

Intersection Observer scrollMargin allows developers to observe targets inside nested scroll containers that are currently clipped away by the scroll containers. This is achieved by expanding the container's clipping rect by the scrollMargin when calculating the intersection.



Blink component

Blink

Motivation

None



Initial public proposal

None

Search tags

Intersection ObserverscrollMargin

TAG review

None

TAG review status

Not applicable

Risks



Interoperability and Compatibility

None



Gecko: Positive (https://github.com/w3c/IntersectionObserver/issues/431)

WebKit: Positive (https://github.com/w3c/IntersectionObserver/issues/431)

Web developers: Positive (https://github.com/w3c/IntersectionObserver/issues/431)

Other signals:

WebView application risks

Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?

None



Debuggability

None



Is this feature fully tested by web-platform-tests?

Yes

Flag name on chrome://flags

IntersectionObserverScrollMargin

Finch feature name

None

Non-finch justification

None

Requires code in //chrome?

False

Tracking bug

https://bugs.chromium.org/p/chromium/issues/detail?id=1469500

Estimated milestones

DevTrial on desktop119
DevTrial on Android119


Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5091020593430528

This intent message was generated by Chrome Platform Status.
Reply all
Reply to author
Forward
0 new messages