Skip to content

[selectors-4][css-lists-3][css-view-transitions] Should ::view-transition-group() follow ::view-transition? #8229

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
cdoublev opened this issue Dec 15, 2022 · 0 comments
Labels
css-pseudo-4 Current Work css-view-transitions-1 View Transitions; Bugs only selectors-4 Current Work

Comments

@cdoublev
Copy link
Collaborator

cdoublev commented Dec 15, 2022

CSS Lists and Counters says that an originating element that is a pseudo-element needs to be explicitly specified in the selector. For example, ::marker does not select ::before::marker.

CSS View Transitions says that all of the view transition pseudo-elements are selected from their ultimate originating element, the document element.

For example, ::view-transition-group(*) selects all ::view-transition-group() children of ::view-transition.

A ::view-transition-group() pseudo-element is generated for each view transition name as a child of the ::view-transition pseudo-element

When a pseudo-element participates in a pseudo-element tree, its originating pseudo-element is its parent.

And ::view-transition::view-transition-group(*) is currently invalid in Chrome. Should it be valid?

Maybe the note from CSS Lists and Counters should not apply to functional sub-pseudo-elements?

@cdoublev cdoublev changed the title [selectors-4][css-lists-3] Define depth of :: [selectors-4][css-lists-3][css-view-transitions] Define more precisely valid/invalid sub-pseudo-elements Jan 11, 2023
@fantasai fantasai added selectors-4 Current Work and removed selectors-4 Current Work labels Jun 1, 2023
@fantasai fantasai added selectors-4 Current Work css-pseudo-4 Current Work css-view-transitions-1 View Transitions; Bugs only labels Jan 9, 2024
@cdoublev cdoublev changed the title [selectors-4][css-lists-3][css-view-transitions] Define more precisely valid/invalid sub-pseudo-elements [selectors-4][css-lists-3][css-view-transitions] Should ::view-transition-group() follow ::view-transition? Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
css-pseudo-4 Current Work css-view-transitions-1 View Transitions; Bugs only selectors-4 Current Work
Projects
None yet
Development

No branches or pull requests

2 participants