cssmin
cssmin copied to clipboard
:skull: Ruby library for minifying CSS. Unmaintained.
As part of combining multiple zeroes into one, the properties of transform-origin and mask-position are incorrectly changed. This pull request adds special handling for these two cases by replacing **0**...
Can we include the tests as part of the gem in rubygems.org? I'm packaging this library for debian and I have to take a github tarball instead of the gem...
I've got a bug report in a my project against cssmin: https://github.com/middleman/middleman/issues/254 Basically: @media handheld, only screen and (device-width: 768px), (device-width: 800px) will strip the space between `and` and `(`...
I had to change this line: ``` css.gsub!(/([^"'=\s])\s*#([0-9a-f])\2([0-9a-f])\3([0-9a-f])\4/i, '\1#\2\3\4') ``` To read: ``` css.gsub!(/([^"'=\s])\s*#([0-9a-f])\2([0-9a-f])\3([0-9a-f])\4/i, '\1 #\2\3\4') ``` In order to fix an IE7 and IE8 issue regarding border colors disappearing.