Contact emails
sko...@chromium.org, kev...@chromium.orgExplainer
https://github.com/WICG/view-transitions/blob/main/scoped-transitions.mdSpecification
https://drafts.csswg.org/css-view-transitions-2Design docs
https://github.com/WICG/view-transitions/blob/main/scoped-transitions.mdSummary
Exposes element.startViewTransition() on arbitrary HTML elements. The element establishes a scope for the transition, which means that the transition pseudo-elements are affected by ancestor clips and transforms, and multiple transitions on separate elements can run concurrently.Blink component
Blink>CSSWeb Feature ID
view-transitions-element-scopedMotivation
View transitions are currently a "global" document-level concept, which means components cannot use transitions without sacrificing composability. For more details, see the explainer.Initial public proposal
https://github.com/w3c/csswg-drafts/issues/9890TAG review
https://github.com/w3ctag/design-reviews/issues/1188TAG review status
Issues addressedRisks
Debuggability
DevTools supports inspecting the transition pseudo-tree and pausing / scrubbing the transition animations from the Animations tab. These features work in the same way for both document-scoped and element-scoped view transitions.Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, ChromeOS, Android, and Android WebView)?
YesSupported on all Blink platforms.YesWPT directory: css/css-view-transitions/scoped Dashboard link: https://wpt.fyi/results/css/css-view-transitions/scoped?label=experimental&label=master&alignedDevTrial instructions
https://github.com/WICG/view-transitions/blob/main/scoped-transitions.md#how-to-useFlag name on about://flags
enable-experimental-web-platform-featuresFinch feature name
ScopedViewTransitionsRollout plan
Will ship enabled for all usersRequires code in //chrome?
FalseTracking bug
https://issues.chromium.org/issues/394052227Measurement
Usage is measured by the web feature "ViewTransitionsElementScoped": https://chromestatus.com/metrics/webfeature/timeline/popularity/281Estimated milestones
| Shipping on desktop | 147 |
| DevTrial on desktop | 140 |
| Shipping on Android | 147 |
| DevTrial on Android | 140 |
| Shipping on WebView | 147 |
Anticipated spec changes
There is an issue open for the CSS WG to resolve on the name of the containment API, which is currently "view-transition-scope: auto": https://github.com/w3c/csswg-drafts/issues/13123
Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5109852273377280?gate=6229325701185536Links to previous Intent discussions
Intent to Prototype: https://groups.google.com/a/chromium.org/d/msgid/blink-dev/67abaada.2b0a0220.1b0c0.01f4.GAE%40google.comReady for Trial: https://groups.google.com/a/chromium.org/g/blink-dev/c/kafnCyjDMrw/m/4XkuFmk7BgAJ