Contact emailsvmp...@google.com Explainer https://github.com/WICG/view-transitions/blob/main/active-view-transition.md
Specificationhttps://drafts.csswg.org/css-view-transitions-2 Summary View Transitions API allows developers to start visual transitions between different states. The primary SPA entry point to this is `startViewTransition()` which returns a transition object. This object contains several promises and functionality to track the transition progress, as well as allow manipulations such as skipping the transition or modifying its types. The proposal here is ergonomic in nature: instead of requiring that users store this object in some sort of way for easy access, provide a `document.activeViewTransition` property that represents this object, or null if there is no transition ongoing. Note this similarly applies to MPA transitions, where the object is only available via `pageswap` and `pagereveal` events. In this proposal `document.activeViewTransition` would be set to this object for the duration of the transition. Blink componentBlink>ViewTransitions>SPA <https://issues.chromium.org/issues?q=customfield1222907:%22Blink%3EViewTransitions%3ESPA%22> TAG reviewhttps://github.com/w3ctag/design-reviews/issues/1124 TAG review statusPending Risks Interoperability and Compatibility This is a new addition that doesn't pose interop or compat risks. The availability of this feature is detectable via the presence of the property *Gecko*: No signal ( https://github.com/mozilla/standards-positions/issues/1278) Discussed at https://github.com/w3c/csswg-drafts/issues/12407 *WebKit*: No signal ( https://github.com/WebKit/standards-positions/issues/536) Discussed at https://github.com/w3c/csswg-drafts/issues/12407 *Web developers*: No signals *Other signals*: Ergonomics This is an ergonomic improvement Activation none Security none 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? None Debuggability This is debuggable via ways similar to other document properties Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, ChromeOS, Android, and Android WebView)?Yes Is this feature fully tested by web-platform-tests <https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md> ?Yes Will add tests as part of the implementation Flag name on about://flagsNone Finch feature nameDocumentActiveViewTransition Rollout planWill ship enabled for all users Requires code in //chrome?False Tracking bughttps://issues.chromium.org/434949972 Estimated milestones Shipping on desktop 141 Shipping on Android 141 Shipping on WebView 141 Anticipated spec changes 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). None Link to entry on the Chrome Platform Status https://chromestatus.com/feature/5067126381215744?gate=5627959184195584 This intent message was generated by Chrome Platform Status <https://chromestatus.com/>. -- 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 visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CADsXd2M-__zjrBWvKTe%2BstV19wAAuPaD5Eq_SaWa-G10XwPvZg%40mail.gmail.com.