Skip to content

Conversation

@vwallen
Copy link
Collaborator

@vwallen vwallen commented Oct 4, 2024

No description provided.

@vwallen vwallen requested a review from jamesnw October 4, 2024 19:10
Copy link
Collaborator

@jamesnw jamesnw left a 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.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
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.

@@ -0,0 +1,2 @@
# Features for managing transitions of properties, elements, and documents
name: Transitions
Copy link
Collaborator

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
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.

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
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
group: transitions
group:
- transitions
- selectors

@vwallen vwallen closed this Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants