Implement view-transition types.
Categories
(Core :: CSS Parsing and Computation, enhancement)
Tracking
()
People
(Reporter: emilio, Assigned: emilio)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-complete)
Attachments
(1 file)
This is specially useful for cross-doc transitions but can also be used for same-doc and is somewhat straight-forward to implement.
| Assignee | ||
Comment 1•1 month ago
|
||
The test change is needed to avoid ERROR status due to the previous
transition getting skipped when starting a new one.
The rest is somewhat straight-forward.
Backed out for causing wpt failures
| Assignee | ||
Updated•1 month ago
|
Comment 7•1 month ago
|
||
| bugherder | ||
Comment 9•1 month ago
|
||
:emilio do you want to nominate this for a release note?
| Assignee | ||
Comment 10•1 month ago
|
||
Release Note Request (optional, but appreciated)
[Why is this notable]: Extension to the view transitions API.
[Affects Firefox for Android]: Yes
[Suggested wording]: Firefox now supports the :active-view-transition-type selector and associated view transitions API changes.
[Links (documentation, blog post, etc)]: https://developer.mozilla.org/en-US/docs/Web/API/Document/startViewTransition#types
Comment 11•1 month ago
|
||
Thanks, added to the Fx147 nightly release notes, please allow 30 minutes for the site to update.
Comment 12•1 month ago
|
||
Hi Emilio!
I already documented view transition types a little while ago (https://github.com/mdn/content/pull/42187, currently in review), and I'm looking to update the compat data to add in the Fx support. Can I just ask you to clarify the exact nature of the Fx support?
When I documented VTTs, I made sure docs were in place for:
- Document.startViewTransition(), the types option object property.
- The :active-view-transition-type() pseudo
- The :active-view-transition pseudo
- @view-transition, the types descriptor
- The CSSViewTransitionRule CSSOM interface
- The ViewTransition.types property
- ViewTransitionTypeSet
I also published some examples at https://mdn.github.io/dom-examples/view-transitions/#view-transition-types-examples
From testing the examples in Firefox, it looks like the functionality is fully supported for SPAs, but MPA/cross-document view transitions are not supported yet. So basically, I should set the data for all of the above features to say they are supported in Nighty (147) for now, except for @view-transition and CSSViewTransitionRule. Does that make sense to you?
| Assignee | ||
Comment 13•1 month ago
|
||
That's right, cross-doc view transitions are tracked in bug 1860854 .
Comment 14•1 month ago
•
|
||
Documentation for VTT has now been merged, and we are just waiting for the BCD updates to be reviewed, so I am setting this to DDC.
See https://github.com/mdn/content/issues/42258 for PR links.
Updated•1 month ago
|
Description
•