-
Notifications
You must be signed in to change notification settings - Fork 665
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
compress css like left:calc(50% - (100px / 2)) has a bug #330
Comments
I also have the same issue, but with the plus operator. The minus operator seems to be correctly compressed, unless there is an additional parenthesis, as reported by @dang0705. Example: But for the plus operator the spaces are removed. Example: According to Mozilla web docs, the + and - operators in the calc function must be surrounded by whitespace. |
I also have this issue. Complex calc such as It appears YUI Compressor is manaully counting the number of brackets and not expecting numerous levels of brackets within |
I have the same problem |
Have the same issue |
Can you try my plugin? I forked this CSS Compressor and have applied a bunch of patches and I can't reproduce your issues above. https://github.com/primefaces-extensions/resources-optimizer-maven-plugin |
it will be left:calc(50% -(100px / 2)),one space character is missing on the right side of the minus sign
so the browser cant analysis this css attribute
The text was updated successfully, but these errors were encountered: