Hello, JS dev here. Was trying to understand what blink does in order to restore the scroll position on back navigation.
I found "restoreScrollPositionAndViewState" here <https://chromium.googlesource.com/chromium/blink/+/refs/heads/main/Source/core/loader/FrameLoader.cpp#1115> . Then tried to understand what it does, specially in terms of timing and when it does consider a frame "loaded". We had a page that was loading a skeleton before some request finished, and it restored the position at what height the skeleton allowed, although the page continued to load for a while afterwards. Found this doc <https://docs.google.com/document/d/1aitSOucL0VHZa9Z2vbRJSyAIsAz24kX8LFByQ5xQnUg/edit#> where there's a missing link to a document which also seems missing from the code. (core/frame/FrameLifecycle.md) And some other links to md documents seem to be missing too. Could I get the FrameLifecycle.md doc? Could I get an overview explanation on what blink does in order to restore the scroll position? Thank you! Regards, Rubén -- 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+unsubscr...@chromium.org. To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAKXO3jGKvhuLnsnwnCXW-JMxyAg98EumBZahqQ0K0Ts1dZpF%2BQ%40mail.gmail.com.