CSS minfier bug with calc?

137 views
Skip to first unread message

Andrew Gambin

unread,
Nov 15, 2015, 12:26:27 PM11/15/15
to SquishIt
Hi all,

Do you have an idea as to why width: cal(50% - 100px) is minified into width:calc(50%- 100px). Note the space between the % and the -. This is breaking up the CSS :(

Alex Ullrich

unread,
Nov 16, 2015, 9:04:02 AM11/16/15
to SquishIt
I suspect this is because the minifier is outdated.


There is a pre-release version that might fix your problem, as it uses newer versions of AjaxMin / YUI minifiers: https://www.nuget.org/packages/SquishIt/1.0.0-alpha2

Let me know if that works.

Alex

Andrew Gambin

unread,
Mar 25, 2017, 1:40:55 PM3/25/17
to SquishIt
Hi Alex,

I know this is 1.5 years late but it worked. Thanks!
Reply all
Reply to author
Forward
0 new messages