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
u + a
selector is minified to u+a
#1433
Comments
So we should skip removing whitespace when the selector starts with |
@ludofischer Intresting... Also intresting - firefox and safari work good without spaces (only chrome) @tabatkins Hello, maybe you can clarify this, should we report it to chrome? |
Found out a bit more in the mean time : parcel-bundler/lightningcss#289 (comment)
parcel-bundler/lightningcss#289 (comment)
|
Yes, we fixed this issue in the CSS Syntax spec a long time ago, so it should be considered still a browser bug when it causes a problem. |
@tabatkins Big thanks 👍 |
Describe the bug
becomes :
Expected behaviour
I expected
cssnano
to avoid forming<urange>
tokens.https://www.w3.org/TR/2021/CRD-css-syntax-3-20211224/#urange-syntax
There are likely more error cases.
Steps to reproduce
https://cssnano.co/playground/#eyJpbnB1dCI6InUgKyBhe2NvbG9yOmdyZWVufSIsImNvbmZpZyI6ImNzc25hbm8tcHJlc2V0LWRlZmF1bHQifQ==
Version
playground version
Preset
default
Environment
Package details
Additional context
No response
The text was updated successfully, but these errors were encountered: