Skip to content

Conversation

@chrisdavidmills
Copy link
Contributor

@chrisdavidmills chrisdavidmills commented Dec 1, 2025

Description

Chrome and Safari have both supported view transition types (see https://chromestatus.com/feature/5089552511533056) for a while, so it is high time I got them documented on MDN.

This PR adds:

  • A guide covering view transition types under the view transition API landing page.
  • Some extra features and cleanup on the startViewTransition() ref page.
  • A ref page for the :active-view-transition-type() pseudo-class.
  • Extra links and cleanup (maybe) for the :active-view-transition ref page.
  • Documentation for the @view-transition at-rule types descriptor.
  • Ref pages for the CSSViewTransitionRule interface, which represents the @view-transition at-rule in the CSSOM.
  • A ref page for the ViewTransition.types property.
  • A ref page for the ViewTransitionTypeSet interface.

Motivation

Additional details

Related issues and pull requests

@chrisdavidmills chrisdavidmills requested review from a team as code owners December 1, 2025 15:40
@chrisdavidmills chrisdavidmills requested review from Josh-Cena, bsmth and sideshowbarker and removed request for a team December 1, 2025 15:40
@github-actions github-actions bot added Content:WebAPI Web API docs Content:JS JavaScript docs labels Dec 1, 2025
@chrisdavidmills chrisdavidmills marked this pull request as draft December 1, 2025 15:40
@github-actions github-actions bot added the size/m [PR only] 51-500 LoC changed label Dec 1, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Dec 1, 2025

Preview URLs (13 pages)
Flaws (1)

Note! 12 documents with no flaws that don't need to be listed. 🎉

URL: /en-US/docs/Web/CSS/Reference/At-rules/@view-transition
Title: @view-transition
Flaw count: 1

  • broken_links:
    • Can't resolve /en-US/docs/Web/CSS/declaration-list
External URLs (9)

URL: /en-US/docs/Web/API/View_Transition_API/Using_types
Title: Using view transition types


URL: /en-US/docs/Web/API/ViewTransition/types
Title: ViewTransition: types property


URL: /en-US/docs/Web/API/ViewTransitionTypeSet
Title: ViewTransitionTypeSet


URL: /en-US/docs/Web/CSS/Reference/At-rules/@view-transition
Title: @view-transition

(comment last updated: 2025-12-03 10:40:09)

@Josh-Cena Josh-Cena removed their request for review December 1, 2025 16:56
@github-actions github-actions bot added the Content:CSS Cascading Style Sheets docs label Dec 1, 2025
@github-actions github-actions bot added size/l [PR only] 501-1000 LoC changed and removed size/m [PR only] 51-500 LoC changed labels Dec 2, 2025
@github-actions github-actions bot added size/xl [PR only] >1000 LoC changed and removed size/l [PR only] 501-1000 LoC changed labels Dec 2, 2025
@chrisdavidmills chrisdavidmills changed the title Add view transition types documentation Technical review: Add view transition types documentation Dec 2, 2025
@chrisdavidmills chrisdavidmills marked this pull request as ready for review December 4, 2025 08:27
@chrisdavidmills chrisdavidmills requested a review from a team as a code owner December 4, 2025 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:CSS Cascading Style Sheets docs Content:JS JavaScript docs Content:WebAPI Web API docs size/xl [PR only] >1000 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant