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

[selectors-4] Allow logical combination pseudos wherever their arguments are themselves valid. #7085 #8041

Merged
merged 1 commit into from
Dec 9, 2022

Conversation

fantasai
Copy link
Collaborator

@fantasai fantasai commented Nov 8, 2022

No description provided.

selectors-4/Overview.bs Outdated Show resolved Hide resolved
The [=logical combination pseudo-classes=]
'':not()'', '':is()'', and '':where()''
are also valid immediately following a [=pseudo-element=]
provided their arguments all adhere to the above restriction.
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this mean that ::before:is(:hover, :first-child) is completely invalid, or becomes ::before:is(:hover)?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Seems like the latter would be more consistent with standard behavior, so I'll update the PR.

@tabatkins tabatkins merged commit e7244b1 into w3c:main Dec 9, 2022
@fantasai fantasai deleted the logical-transparency branch December 9, 2022 21:58
jakearchibald pushed a commit to jakearchibald/csswg-drafts that referenced this pull request Jan 16, 2023
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