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

:has selectors not correctly mangled #596

Closed
sabberworm opened this issue Oct 10, 2024 · 1 comment · Fixed by #597
Closed

:has selectors not correctly mangled #596

sabberworm opened this issue Oct 10, 2024 · 1 comment · Fixed by #597
Labels
bug Something isn't working

Comments

@sabberworm
Copy link

sabberworm commented Oct 10, 2024

Given:

label:has(input, select) {}

goober turns that into:

.go3847911401 label:has(input, .go3847911401 select) {}

Expected:

.go3847911401 label:has(input, select) {}

I suspect similar issues exist for :is and :not.

@cristianbote cristianbote added the bug Something isn't working label Oct 11, 2024
@cristianbote
Copy link
Owner

Heya @sabberworm yup, indeed that's a bug just tested this myself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants