Ticket #4845 (closed bug: duplicate)
Fading in an element in IE leaves the "filter" style set
|Reported by:||jeffkretz||Owned by:|
IE uses directx to render opacity with the filter property. When in use various weird side effects can be had, which inlcude:
1) ClearText AA disabled 2) Child Elements positioned outside the boundries of the parent are cut off.
A specific example is a suckerfish-style menu. If the parent element is faded in, and the child element is positioned to fly out to the right, the child element will be invisible in IE if the parent is set for filter:alpha(opacity=100).
This is an annoying problem with IE, but there is a simple workaround, which is to remove the filter attribute when it is set for 100%.
Then, test to see if there still is a filter property set (say, inherited from a stylesheet definition) and if so, re-set it for 100%.
I've been using this solution since jQuery 1.2.x, but the last time I submitted a ticket it wasn't well received. ( http://dev.jquery.com/ticket/3502) I'm trying this again -- hopefully the dev team can re-look over my solution.
I've downloaded the latest from SVN and created a patch file for the css.js source.
Thanks, Jeffrey Kretz
- Status changed from new to closed
- Resolution set to duplicate