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

RequestReduce messes up the calc() CSS function #258

Open
russiarulez opened this issue Sep 4, 2013 · 3 comments
Open

RequestReduce messes up the calc() CSS function #258

russiarulez opened this issue Sep 4, 2013 · 3 comments

Comments

@russiarulez
Copy link

In my CSS I'm using the calc() function - for example "height: calc(100% - 30px);".
I noticed that some parts of our website are messed up, and after turning off RequestReduce the layout becomes normal.
After a brief investigation I found that everywhere the calc() function is used, a space after the '%' is removed, so the above example becomes "height: calc(100%- 30px);" (note that there's no space following the '%' sign), and this breaks the function, as you must have the spaces surrounding the operator.

http://www.w3.org/TR/css3-values/#calc

@brondavies
Copy link

I am seeing this too.

@brondavies
Copy link

This looks like a bug in an old build of the AjaxMin library. Get the latest RR code and update the AjaxMin nuget package and it will work.

@Groom
Copy link

Groom commented Jul 5, 2019

I still have this problem here in 2019. I don't have AjaxMin in my project, and installing it didn't help. I've also tried reinstalling RR, but that didn't help either. Does anybody have any suggestions to how I might fix this?

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

3 participants