forked from web-platform-dx/web-features
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Css view transitions 2 #6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
4f59b14
Adds keys from css-view-transitions-2 to view-transitions feature
vwallen 9ab466d
Separates cross-document transitions
vwallen 131dea9
Adds active view transition
vwallen 6feeeb3
Adds view transition class
vwallen 1e2efe4
Incorporates feedback
vwallen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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-transitionandactive-view-transition-typeseparately, but I think keep them combined until someone suggests otherwise. It could really go either way.