Open shepik opened 12 years ago
I can take a look at this.
Pull request #14 fixes that.
Pull request #14 does actually not fix this, it only applies to gradient-hexes with 8 digits (including alpha channel). It is perfectly valid to only use 6 digits as well.
Try require('sqwish').minify("body{filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#EEEEEE', EndColorStr='#ffffff');}"))
in the current version (4d7eca23ff41) to test it.
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e6e6e6',endColorstr='#ffffff',GradientType=0 ) This line is broken if "ffffff" is replaced by "fff" (and fff is for some strange reason interpreted as #000000, so instead of white you have black) Affected browsers: ie9, ie8, ie7