heygrady / transform

jQuery 2d transformation plugin
437 stars 87 forks source link

Rotation animation in IE 6-9 - Transparent png issue #22

Closed jacobdubail closed 13 years ago

jacobdubail commented 13 years ago

Hey Grady,

Lovin this plugin the more I use it. Pretty slick.

The only issue I can find is that transparent images that whose rotation is animated get all kinds a jack'd up. You can see an example here: http://in-flow.co/

Is this a known issue? I couldn't find any docs on it.

Many thanks!

heygrady commented 13 years ago

The transparency should be better in IE9. But in IE8 and below applying a filter to a transparent PNG will cause issues. Essentially the partially transparent pixels turn black. You can actually fix the issue by applying a background color but that isn't always desirable.

jacobdubail commented 13 years ago

Bummer, but good to know. Thanks for the reply!

heygrady commented 13 years ago

I just saw something in a library called "ColorBox" that appears to have a fix for the black halo in IE 6-8.

https://github.com/jackmoore/colorbox/blob/master/example1/colorbox.css#L56