]> source.dussan.org Git - jquery.git/commitdiff
IE is now forced layout if it doesn't have it (such that opacity now works as expecte...
authorJohn Resig <jeresig@gmail.com>
Fri, 16 Jun 2006 02:01:39 +0000 (02:01 +0000)
committerJohn Resig <jeresig@gmail.com>
Fri, 16 Jun 2006 02:01:39 +0000 (02:01 +0000)
fx/fx.js

index 665f8950a236a5646fa11d2eee563db9a86ff993..559e4f6f5971c49b518f45bb8d58ac74979ad30c 100644 (file)
--- a/fx/fx.js
+++ b/fx/fx.js
@@ -211,6 +211,11 @@ $.fx = function(el,op,ty){
                }
        };
 
+       // IE has trouble with opacity if it doesn't have layout
+       if ( $.browser == "msie" && !z.el.currentStyle.hasLayout ) {
+               y.zoom = 1;
+       }
+
        // Remember  the overflow of the element
        z.oldOverflow = y.overflow;