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

Invalid css selector generated #14902

Open
RobinMalfait opened this issue Nov 7, 2024 Discussed in #14901 · 0 comments
Open

Invalid css selector generated #14902

RobinMalfait opened this issue Nov 7, 2024 Discussed in #14901 · 0 comments
Labels

Comments

@RobinMalfait
Copy link
Member

Discussed in #14901

Originally posted by kdy1 November 7, 2024
What version of Tailwind CSS are you using?

v3.4.14

What build tool (or framework if it abstracts the build tool) are you using?

Next.js + turbopack, but reproducible on playground.

What version of Node.js are you using?

Playground

What browser are you using?

Chrome

What operating system are you using?

macOS

Reproduction URL

https://play.tailwindcss.com/obgZakKyiO?file=css

Describe your issue

Generated CSS file is

p.my-4 {
  margin: 0px;
}
.\[\&_\:is\(p\)\]\:my-4 :is(p)p {
  margin: 0px;
}

where :is(p)p is invalid


Originally opened here, but converted it too soon: #14900

@RobinMalfait RobinMalfait added the v3 label Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant