gruntjs / grunt-contrib-cssmin

Compress CSS files.
http://gruntjs.com/
MIT License
793 stars 147 forks source link

Fix minification of *zoom #256

Closed scottdover closed 8 years ago

scottdover commented 8 years ago

It appears that *zoom properties (maybe in combination with expression(...) do not get minified correctly.

For example, this file: https://gist.github.com/scottdover/dff60dfa284b4afaaf6f, when ran through grunt-contrib-cssmin generates https://gist.github.com/scottdover/db042ff8dff5d3b5a6c3.

Basically, anything generated after

a [class^="icon-"],
a [class*=" icon-"] {
  cursor: pointer;
}

is lost.

Any help w/ this issue would be greatly appreciated.

sindresorhus commented 8 years ago

From the readme:

Issues with the output should be reported on the clean-css issue tracker.