scroll() works very similarly to the existing restoreScroll() except that it can be called when the navigation is not a traversal. It also allows manually performing the scroll even when not in manual scroll mode.
Most of the compatibility risk comes from the removal of restoreScroll(), and will be discussed in that separate Intent. For those migrating to scroll(), all existing use cases should just work by changing the function name.
Gecko: No signal https://github.com/mozilla/standards-positions/issues/543 remains open as the positions request for the original API.
WebKit: No signal https://www.mail-archive.com/webki...@lists.webkit.org/msg30257.html remains open as the positions request for the original API. https://github.com/WebKit/standards-positions/issues/34 was recently opened by web developers and also remains open.
Web developers: Positive. https://github.com/WICG/navigation-api/issues/237 came out of discussions with web developers.
This is a slightly more featureful restoreScroll().
None different than restoreScroll()
Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?
None, this should work identically on all platforms.
Debugging should be no different than debugging restoreScroll().
The navigation-api/ directory makes extensive use of restoreScroll(), and we're updating it to use scroll() alongside the implementation.
Open questions about a feature may be a source of future web compat or interop issues. Please list open issues (e.g. links to known github issues in the project for the feature specification) whose resolution may introduce web compat/interop risk (e.g., changing to naming or structure of the API in a non-backward-compatible way).
This intent message was generated by Chrome Platform Status.
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CACf%3D2LJEWKt97W%3Db-PEvt6FZfhEhnw%3D1v1hdYL-1kPMZ2FGRSg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAOMQ%2Bw9tPmzPPRBOjUTCSgTFnhKO4ecxP2cd3RsdmaZ%2BkcTufQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAL5BFfXmp06Hsd2PiZhftq6__b-ALvK1UKh0-bYNROtFWsLFSQ%40mail.gmail.com.