We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
PostCSS Nesting is removing the last semicolon prior to a nested rule.
While this is valid CSS it's making parsers choke on this. In this case, it's affecting Gutenberg which has a CSS Parser
See WordPress/gutenberg#40444
.something { order: 1; & .foo { order: 2; } }
.something { order: 1; } .something .foo { order: 2; }
.something { order: 1 } .something .foo { order: 2; }
npx @csstools/csstools-cli <plugin-name> minimal-example.css
Yes
No response
PostCSS Nesting
10.1.8
macOS
16
The text was updated successfully, but these errors were encountered:
cc @fabiankaegy
Sorry, something went wrong.
&
postcss-nesting
Successfully merging a pull request may close this issue.
Bug description
PostCSS Nesting is removing the last semicolon prior to a nested rule.
While this is valid CSS it's making parsers choke on this. In this case, it's affecting Gutenberg which has a CSS Parser
See WordPress/gutenberg#40444
Source CSS
Expected CSS
Actual CSS
Does it happen with
npx @csstools/csstools-cli <plugin-name> minimal-example.css
?Yes
Debug output
No response
Extra config
No response
What plugin are you experiencing this issue on?
PostCSS Nesting
Plugin version
10.1.8
What OS are you experiencing this on?
macOS
Node Version
16
Validations
Would you like to open a PR for this bug?
The text was updated successfully, but these errors were encountered: