Skip to content

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

Open
@Psychpsyo

Description

@Psychpsyo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions