Skip to content
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

Pseudos after ::part() are valid #43796

Merged
merged 1 commit into from
Dec 26, 2023
Merged

Pseudos after ::part() are valid #43796

merged 1 commit into from
Dec 26, 2023

Conversation

tabatkins
Copy link
Contributor

https://drafts.csswg.org/selectors/#pseudo-element-states restricts pseudo-classes on pseudo-elements to the user action and logical combo ones by default, but allows other specs to allow other pseudos.

https://drafts.csswg.org/css-shadow-parts/#part allows all pseudo-classes (but defines that a few never match, if they reveal tree structure).

<https://drafts.csswg.org/selectors/#pseudo-element-states> restricts pseudo-classes on pseudo-elements to the user action and logical combo ones *by default*, but allows other specs to allow other pseudos.

<https://drafts.csswg.org/css-shadow-parts/#part> allows all pseudo-classes (but defines that a few never match, if they reveal tree structure).
Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

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

@tabatkins tabatkins merged commit 58d3299 into master Dec 26, 2023
19 checks passed
@tabatkins tabatkins deleted the part-pseudoclasses branch December 26, 2023 22:34
marcoscaceres pushed a commit that referenced this pull request Feb 23, 2024
<https://drafts.csswg.org/selectors/#pseudo-element-states> restricts pseudo-classes on pseudo-elements to the user action and logical combo ones *by default*, but allows other specs to allow other pseudos.

<https://drafts.csswg.org/css-shadow-parts/#part> allows all pseudo-classes (but defines that a few never match, if they reveal tree structure).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants