Intent to Prototype: View Transition Same-Origin Navigation

507 views
Skip to first unread message

Khushal Sagar

unread,
Nov 9, 2022, 3:11:09 PM11/9/22
to blink-dev

Contact emails

khusha...@google.comvmp...@google.com

Explainer

https://github.com/WICG/view-transitions/blob/main/explainer.md#cross-document-same-origin-transitions

Specification



Summary

The ViewTransition API allows authors to define visual transitions between 2 DOM states. The first phase of the feature is limited to transitions within the same Document initiated via a script API. This feature is to support this API for DOM changes initiated via cross-document same-origin navigations.


Blink component

Blink>ViewTransitions

Motivation

This feature allows developers to add polished visual transitions to same-origin cross-document navigations. While creating this UX is possible for DOM changes within the same Document (Single-Page App), i'ts impossible for cross-Document navigations (Multi-Page App).



Initial public proposal

https://github.com/WICG/view-transitions/blob/main/explainer.md#cross-document-same-origin-transitions

TAG review



TAG review status

Pending

Risks



Interoperability and Compatibility

None. This feature is a progressive enhancement and authors can fallback to the current UX if the feature is not available.


Gecko: No signal

WebKit: No signal

Web developers: Strongly positive

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?



Debuggability

The feature can be debugged using standard tooling in devtools. Specifically the animation panel can be used to pause and scrub through the default animations set by the browser. The pseudo DOM structure generated by the UA can also be inspected and targeted, like other DOM elements, in the style panel.


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

Yes

Flag name

view-transition-on-navigation

Requires code in //chrome?

False

Tracking bug

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

Estimated milestones

No milestones specified



Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5118874666663936

This intent message was generated by Chrome Platform Status.

slightlyoff via Chromestatus

unread,
Nov 9, 2022, 5:37:28 PM11/9/22
to blin...@chromium.org
Amazing to see this moving forward.
Reply all
Reply to author
Forward
0 new messages