Closed GoogleCodeExporter closed 9 years ago
Replace /min/lib/Minify/CSS/Compressor.php with this new version:
http://code.google.com/p/minify/source/browse/branches/2.1.4/min/lib/Minify/CSS/
Compressor.php
With it I get this valid output:
* html
input.checkbox{margin:-1px -2px}
If this doesn't help, could you attach the whole problem file or whittle it
down to
the smallest case where the error occurs?
Original comment by mrclay....@gmail.com
on 22 May 2010 at 2:45
Sorry, all i'm using from your package is the
http://code.google.com/p/minify/source/browse/trunk/min/lib/JSMin.php file
itself
with a constructor and then min() call.
Is this something wrong with this approach?
All i want is to have the file minified after all.
Original comment by joe7j...@gmail.com
on 22 May 2010 at 3:51
ugh, me being a noob here i guess, is that for JS only? ;>
Original comment by joe7j...@gmail.com
on 22 May 2010 at 3:57
Yes :) You want Minify_CSS_Compressor for CSS. I've seen at least one framework
trying to use JSMin for CSS (with very buggy results) so you're not the first.
Original comment by mrclay....@gmail.com
on 22 May 2010 at 4:46
Gotcha, thanks for the heads up & sorry for being noob ;>
Ticket is invalid indeed
Original comment by joe7j...@gmail.com
on 22 May 2010 at 5:46
Original issue reported on code.google.com by
joe7j...@gmail.com
on 21 May 2010 at 10:10