Closed GoogleCodeExporter closed 8 years ago
This is the code I used for minification:
$css = CssMin::minify($css, array(
'convert-css3-properties' => false,
'compress-unit-values' => true,
'compress-color-values' => true
));
Original comment by mario.es...@gmail.com
on 12 Aug 2010 at 2:49
I actually found what's wrong, the property 'convert-css3-properties' is never
being checked and so CSSmin always converts the css3 properties.
I really think that 'convert-css3-properties' and other configurations that
make the file larger should be turned off by default. It's very misleading.
Original comment by mario.es...@gmail.com
on 12 Aug 2010 at 2:55
Sorry for the spamming but here's my little patch for making the css3
configuration work.
Original comment by mario.es...@gmail.com
on 12 Aug 2010 at 3:08
Attachments:
Fixed in version 2.0.1.002.
The minification option "convert-css3-properties" is now false by default. I
agree with you that this makes more sense.
Original comment by joe.scylla
on 12 Aug 2010 at 8:05
PS. thanks for reporting ;)
Original comment by joe.scylla
on 12 Aug 2010 at 8:17
Original issue reported on code.google.com by
mario.es...@gmail.com
on 12 Aug 2010 at 2:40Attachments: