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
[Bug] : grid-name e1 -> NaN #984
Comments
I can confirm that this is an issue. I assume the 'e' in 'e1' is being interpreted as a exponent because not just any single character combined with a number breaks the minifier. |
Fixed in 5.0.0-rc.2 |
Thanks @ludofischer. Just curious. What was the commit that fixed this? Or what was the underlying issue that 5.0.0 fixes? |
I suspect it is just the cssnano-value-parser update that fixes it, so you might want to look at that repository. |
Is that the repo name? I searched in GitHub and didn’t find it?
… On Mar 21, 2021, at 12:20 PM, Ludovico Fischer ***@***.***> wrote:
I suspect it is just the cssnano-value-parser update that fixes it, so you might want to look at that repository.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Sorry, it is https://github.com/TrySound/postcss-value-parser |
Thanks. TIL there's a part of the CSS3 spec that deals with identifying strings as numbers |
Describe the bug
Hi, rather a funny bug that can be easily workarounded, but worth to fix.
To Reproduce
Steps to reproduce the behavior:
https://cssnano.co/playground/#eyJpbnB1dCI6ImRpdlxyXG57XHJcbiAgICBncmlkLWFyZWE6IGUxO1xyXG59IiwiY29uZmlnIjoiLy8gY3NzbmFubyBjb25maWdcbntcbiAgXCJwcmVzZXRcIiA6IFwiZGVmYXVsdFwiLFxufVxuIn0=
Expected behavior
grid-area: e1
is not converted to numberThe text was updated successfully, but these errors were encountered: