Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions features/active-view-transition.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Active view transition
description: The `::active-view-transition` CSS pseudo-class matches the root element when a view transition is active. The `::active-view-transition-type()` CSS pseudo-class matches only when the active view transition was started with the specified type.
spec: https://drafts.csswg.org/css-view-transitions-2/#the-active-view-transition-pseudo
group:
- view-transitions
- selectors
compat_features:
- api.ViewTransition.types
- api.ViewTransitionTypeSet
- css.selectors.active-view-transition
- css.selectors.active-view-transition-type
28 changes: 28 additions & 0 deletions features/active-view-transition.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Generated from: active-view-transition.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: false
support:
chrome: "125"
chrome_android: "125"
edge: "125"
compat_features:
# baseline: false
# support:
# chrome: "125"
# chrome_android: "125"
# edge: "125"
# safari: "18"
# safari_ios: "18"
- css.selectors.active-view-transition

# ⬇️ Same status as overall feature ⬇️
# baseline: false
# support:
# chrome: "125"
# chrome_android: "125"
# edge: "125"
- api.ViewTransition.types
- api.ViewTransitionTypeSet
- css.selectors.active-view-transition-type
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a chance that someone in review (or down the road) might want to refer to active-view-transition and active-view-transition-type separately, but I think keep them combined until someone suggests otherwise. It could really go either way.

9 changes: 9 additions & 0 deletions features/cross-document-view-transitions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: Cross-document view transitions
description: The `@view-transition` CSS rule sets whether a document opts-in to transitions between documents in a multi-page application. Both the old and new document must opt-in for a transition to be triggered.
spec: https://drafts.csswg.org/css-view-transitions-2/#cross-doc-opt-in
group: view-transitions
compat_features:
- api.CSSViewTransitionRule
- api.CSSViewTransitionRule.navigation
- api.CSSViewTransitionRule.types
- css.at-rules.view-transition
14 changes: 14 additions & 0 deletions features/cross-document-view-transitions.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Generated from: cross-document-view-transitions.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: false
support:
chrome: "126"
chrome_android: "126"
edge: "126"
compat_features:
- api.CSSViewTransitionRule
- api.CSSViewTransitionRule.navigation
- api.CSSViewTransitionRule.types
- css.at-rules.view-transition
7 changes: 7 additions & 0 deletions features/view-transition-class.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: view-transition-class
description: The `view-transition-class` CSS property sets a name that can be used to apply styles to multiple named view transition pseudo-elements.
spec: https://drafts.csswg.org/css-view-transitions-2/#propdef-view-transition-class
group: view-transitions
compat_features:
- css.properties.view-transition-class
- css.properties.view-transition-class.none
12 changes: 12 additions & 0 deletions features/view-transition-class.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Generated from: view-transition-class.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: false
support:
chrome: "125"
chrome_android: "125"
edge: "125"
compat_features:
- css.properties.view-transition-class
- css.properties.view-transition-class.none
18 changes: 16 additions & 2 deletions features/view-transitions.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
name: View transitions
description: View transitions allow you to create animated visual transitions between different states of a document, or between different documents.
description: View transitions allow you to create animated visual transitions between different states of a document.
spec: https://drafts.csswg.org/css-view-transitions-1/
caniuse: view-transitions
group: css
group: view-transitions
compat_features:
- api.Document.startViewTransition
- api.ViewTransition
- api.ViewTransition.finished
- api.ViewTransition.ready
- api.ViewTransition.skipTransition
- api.ViewTransition.updateCallbackDone
- css.properties.view-transition-name
- css.properties.view-transition-name.none
- css.selectors.view-transition
- css.selectors.view-transition-group
- css.selectors.view-transition-image-pair
- css.selectors.view-transition-new
- css.selectors.view-transition-old
1 change: 1 addition & 0 deletions features/view-transitions.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,4 @@ compat_features:
- api.ViewTransition.skipTransition
- api.ViewTransition.updateCallbackDone
- css.properties.view-transition-name
- css.properties.view-transition-name.none
2 changes: 2 additions & 0 deletions groups/view-transitions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Features for managing transitions of properties, elements, and documents
name: View Transitions