YUI Compressor 2.4.8 is removing spaces for Calc property
-
Hi there,
This is a well known bug of YUI compressor which delete mandatory spaces for the Calc property.
Ex :
.w-1 { width : calc(6.66% – 20px); }
will be converted into
.w-1{width:calc(6.66%-20px);} but the thing is that it leads to an nvalid property because spaces between + – * / MUST be there.
There is an unofficial YUI compressor 2.4.9, which fixes the issue. But when replacing the JAR associated (and renaming the version to the one present in your plugin), it just doesn’t fix the issue.
Is this because this update doesn’t solve the calc issue, or is this because I have renamed the new yuicompressor-2.4.9.jar to yuicompressor-2.4.8.jar?
Moreover, I find it strange that there is no compression issue when using 2.4.8.4 here : https://futtta.be/cssmin/gui/
- The topic ‘YUI Compressor 2.4.8 is removing spaces for Calc property’ is closed to new replies.