From 017a842ec6c63e6ed4f26f77da41270688eab33e Mon Sep 17 00:00:00 2001
From: Majid Valipour If scrollRestoration is "manual
" the user agent should not restore the scroll
- position for the document, otherwise, it may do so.Document
or any of its scrollable regions, with the exception of
+ any nested browsing contexts whose scroll restoration is controlled by their own history entry's
+ scroll restoration mode, otherwise, it may do so.
Optionally, update other aspects of the document and its rendering, for instance values of form fields, that the user agent had previously recorded.
Not restoring the scroll position by user agent does not imply that the scroll + position will be left at any particular value (e.g., (0,0)). The actual scroll position depends on + the navigation type and the user agent's particular caching strategy. So web applications should + not assume any particular scroll position but rather should set it to what they want it to be.
+PopStateEvent
interface[Constructor(DOMString type, optional PopStateEventInit eventInitDict), Exposed=(Window,Worker)]