arbk / cssmin

CssMin - A (simple) css minifier with benefits. (exported from Google Code)
http://code.google.com/p/cssmin/
1 stars 1 forks source link

Do not automatically convert opacity to filter/-ms-filter #43

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What version of CssMin are you using (source and/or build)?
3.0.0

What was the input stylesheet and/or configuration options?
A big one.

What is the expected result?
opacity is not converted to filter/-ms-filter without explicit option saying so.

And what is the actual result and/or error message?
opacity is converted to filter.

Please provide any additional information below.
The reasoning is simple: filter sucks! The site performance decreases, 
sometimes it affects layout, and combinations of filter:alpha(opacity=x) look 
terrible (meaning a div behind a div), which is unlike opacity. Therefore, 
filter:alpha(opacity=X) != opacity:0.X;

I would like to see something like a ConvertOpacityToMsFilter option. FALSE by 
default. Until then, I have commented out the 3 lines that convert opacity to 
filter/-ms-filter because it greatly affects my site's performance and look, 
especially in IE7.

Original issue reported on code.google.com by audvare on 15 Oct 2011 at 10:34

GoogleCodeExporter commented 8 years ago
Thanks for reporting.

Original comment by joe.scylla on 16 Oct 2011 at 9:26