The `pageconceal` event is fired on a Document's window object when a navigation will replace this Document with a new Document. The event provides activation info about the navigation (type, NavigationHistoryEntry for the new Document). If the navigation has a cross-document ViewTransition, the event is dispatched before capturing state for the old Document. This allows the page-author to configure the old state captured for the transition based on the navigation's activation info and the current visual state of the old Document. This feature is split out from the larger ViewTransition-on-Navigation project.
Cross-document ViewTransition need an event on the old Document so authors can set up view-transition-names (or any other DOM state) to influence how the Document is captured. This event needs to be fired: - After the final response is received which provides the post redirect URL committed by the navigation. - Before the last rendering opportunity for the Document (which draws the frame cached by the browser) that runs after the navigation is ready to commit. There is no existing event which aligns with the timing requirements above. See discussion on https://github.com/whatwg/html/issues/9702 for details. The event fires for all cross-document navigation commits, with a nullable ViewTransition. This allows authors to detect whether a cross-document navigation had a transition.
None
Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?
None
None
No milestones specified