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

css minification calc #254

Open
ochsenius opened this issue Aug 16, 2016 · 4 comments
Open

css minification calc #254

ochsenius opened this issue Aug 16, 2016 · 4 comments

Comments

@ochsenius
Copy link

Hi,
I´m having a problem when I make minification with css. I have 2 lines, the first one remove the spaces near the +. With this the Google Chrome does not shows the right position. However, with the symbol - the yuicompressor does not remove the spaces and the Chrome shows the data in the right position

original: top:calc(50% + 20px); => top:calc(50%+20px); // removes the spaces and the display fails.
original: left:calc(50% - 25px); => left:calc(50% - 25px); // with spaces it´s ok

@jinliming2
Copy link

jinliming2 commented Sep 11, 2016

Same problem.
But when I download the newest source code, and build it myself, it's solved.

@AdiPeled
Copy link

can you please add a link to the version you used that fixed the problem?

@jinliming2
Copy link

Can't upload it to github. it told me that they don't support that file type.

I upload it to my dropbox: https://www.dropbox.com/s/j4wvr7921z15bgy/yuicompressor-2.4.8.jar?dl=0

If you live in China, and you can't visit dropbox, you can use baidu cloud: https://pan.baidu.com/s/1hsnvyHQ

I build it myself use ant on 2016/9/11. branch ID: b3de528

@melloware
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants