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 use of :where(.btn) when matching !btn #10601

Merged
merged 5 commits into from Feb 16, 2023
Merged

Conversation

thecrypticace
Copy link
Contributor

Fixes #10582

@thecrypticace thecrypticace merged commit 89fe09b into master Feb 16, 2023
21 checks passed
@thecrypticace thecrypticace deleted the fix/where-important branch February 16, 2023 15:13
thecrypticace added a commit that referenced this pull request Feb 16, 2023
* Cleanup code

This makes it more explicit that we’re parsing a string selector, modifying it, and turning it back into a string

* Fix important modifier when :where is involved

* Only parse selector list once when handling the important modifier

* Fix import

* Fix lint errors
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.

Using :where(.anything) in a plugin and having !anything inside HTML, creates invalid CSS
1 participant