-
-
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
Conversation
jamesnw
left a comment
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.
A few nits, but I think this is ready to upstream!
| @@ -0,0 +1,9 @@ | |||
| name: Cross-document view transitions | |||
| description: The `@view-transition` CSS rule sets whether a document opts-in to transitions from one document to another. Both the old and new document must opt-in for a transition to be triggered. | |||
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.
| description: The `@view-transition` CSS rule sets whether a document opts-in to transitions from one document to another. Both the old and new document must opt-in for a transition to be triggered. | |
| 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. |
Getting MPA in there for searchability.
groups/transitions.yml
Outdated
| @@ -0,0 +1,2 @@ | |||
| # Features for managing transitions of properties, elements, and documents | |||
| name: Transitions | |||
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.
I think this should be View Transitions with id view-transitions - see web-platform-dx#1771 (comment) for the rationale.
| # edge: "125" | ||
| - api.ViewTransition.types | ||
| - api.ViewTransitionTypeSet | ||
| - css.selectors.active-view-transition-type |
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-transition and active-view-transition-type separately, but I think keep them combined until someone suggests otherwise. It could really go either way.
features/active-view-transition.yml
Outdated
| 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: transitions |
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.
| group: transitions | |
| group: | |
| - transitions | |
| - selectors |
No description provided.