jalmenarez / minify

Automatically exported from code.google.com/p/minify
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Allow use of CSS Tidy #23

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It would be great to see CSS Tidy used in place of regex to help compress
CSS further. It would also help safe guard against possible CSS errors.

http://csstidy.sourceforge.net/

Original issue reported on code.google.com by nick.lem...@gmail.com on 27 Nov 2007 at 10:59

GoogleCodeExporter commented 9 years ago

Original comment by rgr...@gmail.com on 28 Nov 2007 at 4:21

GoogleCodeExporter commented 9 years ago
I already have the code for this if you'd like use it

Original comment by nick.lem...@gmail.com on 4 Dec 2007 at 3:07

GoogleCodeExporter commented 9 years ago
When I looked at CSS Tidy I found the comment-processing options limited (in 
light of
real-world hacks), but I did steal some minification ideas from it.

Check the SVN and see if you can create a wrapper for CSS Tidy. E.g., here's 
one for
Packer:
http://code.google.com/p/minify/source/browse/trunk/lib/Minify/Packer.php#737

I'm certainly open to accepting it with some test cases as a backup CSS 
minifier.

Original comment by mrclay....@gmail.com on 29 Feb 2008 at 2:32

GoogleCodeExporter commented 9 years ago

Original comment by mrclay....@gmail.com on 14 May 2008 at 4:45

GoogleCodeExporter commented 9 years ago
In the 2.x versions you can (with some configuration hoops) use any function 
you 
want for minification. Ask how on the google groups.

Original comment by mrclay....@gmail.com on 27 Nov 2008 at 3:41