mrclay/minify — pull request #22 by tubalmartin (2012-03-16 01:51:34+00:00)
Title: CSSmin updated to latest commit of YUI compressor!

I told you I'd finish it this week ;)

I've tested it thoroughly because it's been a year since I wrote the first version!
I've fixed some bugs, made some improvements here and there and the result is CSSmin now passes all unit tests successfully!

Here's the output:

PASS: CSSmin : background-position.css (1 of 1 tests run so far have passed)
PASS: CSSmin : border-none.css (2 of 2 tests run so far have passed)
PASS: CSSmin : box-model-hack.css (3 of 3 tests run so far have passed)
PASS: CSSmin : bug2527974.css (4 of 4 tests run so far have passed)
PASS: CSSmin : bug2527991.css (5 of 5 tests run so far have passed)
PASS: CSSmin : bug2527998.css (6 of 6 tests run so far have passed)
PASS: CSSmin : bug2528034.css (7 of 7 tests run so far have passed)
PASS: CSSmin : charset-media.css (8 of 8 tests run so far have passed)
PASS: CSSmin : color-simple.css (9 of 9 tests run so far have passed)
PASS: CSSmin : color.css (10 of 10 tests run so far have passed)
PASS: CSSmin : comment.css (11 of 11 tests run so far have passed)
PASS: CSSmin : concat-charset.css (12 of 12 tests run so far have passed)
PASS: CSSmin : dataurl-base64-doublequotes.css (13 of 13 tests run so far have passed)
PASS: CSSmin : dataurl-base64-eof.css (14 of 14 tests run so far have passed)
PASS: CSSmin : dataurl-base64-linebreakindata.css (15 of 15 tests run so far have passed)
PASS: CSSmin : dataurl-base64-noquotes.css (16 of 16 tests run so far have passed)
PASS: CSSmin : dataurl-base64-singlequotes.css (17 of 17 tests run so far have passed)
PASS: CSSmin : dataurl-base64-twourls.css (18 of 18 tests run so far have passed)
PASS: CSSmin : dataurl-dbquote-font.css (19 of 19 tests run so far have passed)
PASS: CSSmin : dataurl-nonbase64-doublequotes.css (20 of 20 tests run so far have passed)
PASS: CSSmin : dataurl-nonbase64-noquotes.css (21 of 21 tests run so far have passed)
PASS: CSSmin : dataurl-nonbase64-singlequotes.css (22 of 22 tests run so far have passed)
PASS: CSSmin : dataurl-noquote-multiline-font.css (23 of 23 tests run so far have passed)
PASS: CSSmin : dataurl-realdata-doublequotes.css (24 of 24 tests run so far have passed)
PASS: CSSmin : dataurl-realdata-noquotes.css (25 of 25 tests run so far have passed)
PASS: CSSmin : dataurl-realdata-singlequotes.css (26 of 26 tests run so far have passed)
PASS: CSSmin : dataurl-realdata-yuiapp.css (27 of 27 tests run so far have passed)
PASS: CSSmin : dataurl-singlequote-font.css (28 of 28 tests run so far have passed)
PASS: CSSmin : decimals.css (29 of 29 tests run so far have passed)
PASS: CSSmin : dollar-header.css (30 of 30 tests run so far have passed)
PASS: CSSmin : font-face.css (31 of 31 tests run so far have passed)
PASS: CSSmin : ie5mac.css (32 of 32 tests run so far have passed)
PASS: CSSmin : media-empty-class.css (33 of 33 tests run so far have passed)
PASS: CSSmin : media-multi.css (34 of 34 tests run so far have passed)
PASS: CSSmin : media-test.css (35 of 35 tests run so far have passed)
PASS: CSSmin : opacity-filter.css (36 of 36 tests run so far have passed)
PASS: CSSmin : preserve-case.css (37 of 37 tests run so far have passed)
PASS: CSSmin : preserve-new-line.css (38 of 38 tests run so far have passed)
PASS: CSSmin : preserve-strings.css (39 of 39 tests run so far have passed)
PASS: CSSmin : pseudo-first.css (40 of 40 tests run so far have passed)
PASS: CSSmin : pseudo.css (41 of 41 tests run so far have passed)
PASS: CSSmin : special-comments.css (42 of 42 tests run so far have passed)
PASS: CSSmin : star-underscore-hacks.css (43 of 43 tests run so far have passed)
PASS: CSSmin : string-in-comment.css (44 of 44 tests run so far have passed)
PASS: CSSmin : webkit-transform.css (45 of 45 tests run so far have passed)
PASS: CSSmin : zeros.css (46 of 46 tests run so far have passed)

Finally, I had to add a call to trim() to the file_get_contents() resulting code so that test results match!