Skip to content

[view-transitions-1] Section 3.2.1 Conflates Pseudo-Elements and their Selectors #12190

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

Open
Psychpsyo opened this issue May 13, 2025 · 0 comments

Comments

@Psychpsyo
Copy link
Contributor

3.2.1. Named View Transition Pseudo-elements says:

Several of the view transition pseudo-elements are named view transition pseudo-elements, which are functional tree-abiding view transition pseudo-elements associated with a view transition name. These pseudo-elements take a <pt-name-selector> as their argument, and their syntax follows the pattern:
::view-transition-pseudo(<pt-name-selector>)

Then it goes on to say:

A named view transition pseudo-element selector only matches a corresponding pseudo-element if its <pt-name-selector> matches that pseudo-element’s view transition name, i.e. if it is either * or a matching <custom-ident>.

Specifically, this sentence is odd:
"These pseudo-elements take a <pt-name-selector> as their argument, and their syntax follows the pattern:"

It is talking about named view transition pseudo-elements, which, everywhere else in this definition are a separate construct from their selectors.
So they shouldn't have any syntax and also not take any <pt-name-selector>s.

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

No branches or pull requests

1 participant