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

fix: support CSS logical combination pseudo-classes #1417

Merged
merged 1 commit into from
Dec 6, 2022

Conversation

rdeltour
Copy link
Member

@rdeltour rdeltour commented Dec 2, 2022

This commit update the CSS grammar parser to support funcitonal pseudo- classes taking selector listrs as argument.

In effect, this impacts the parsing of the following pseudo-classes:

  • :is() (taking a forgiving selector list)
  • :not() (taking a selector list)
  • :where() (taking a forgiving selector list)
  • :has() (taking a forgiving relative selector list)

Fixes #1289, Fixes #1354

This commit update the CSS grammar parser to support funcitonal pseudo-
classes taking selector listrs as argument.

In effect, this impacts the parsing of the following pseudo-classes:
- `:is()` (taking a forgiving selector list)
- `:not()` (taking a selector list)
- `:where()` (taking a forgiving selector list)
- `:has()` (taking a forgiving relative selector list)

Fixes #1289, Fixes #1354
@rdeltour rdeltour added this to the v5.0.0-beta milestone Dec 2, 2022
@rdeltour rdeltour requested a review from mattgarrish December 2, 2022 15:13
@rdeltour rdeltour self-assigned this Dec 2, 2022
Base automatically changed from feat/file-urls-check to release/v5.0.0 December 6, 2022 14:38
@rdeltour rdeltour merged commit 5635807 into release/v5.0.0 Dec 6, 2022
@rdeltour rdeltour deleted the fix/css-pseudo-classes branch December 6, 2022 14:39
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.

2 participants