OSDN Git Service

Verison 0.6.201, X.UI.ScrollBox woring at IE5.5 well.
[pettanr/clientJs.git] / 0.6.x / js / 02_dom / 20_XNode.js
index ab4e26b..1656421 100644 (file)
@@ -1577,6 +1577,7 @@ var X_Node__commitUpdate =
                                that[ '_flags' ] |= X_NodeFlags_ACTUAL_LISTENING;
                        };
                        
+                       // ie8 では子要素に opacity が反映されないため、親要素の opacity を積算する
                        ie8opacity = ie8opacity * ( that[ '_css' ] && 0 <= that[ '_css' ].opacity ? that[ '_css' ].opacity : 1 );
                        
                        // 8. 更新の適用
@@ -1718,7 +1719,8 @@ var X_Node__commitUpdate =
 var X_Node__updateRawNode =
        X_UA_DOM.W3C ?
                ( function( that, elm, ie8opacity, accumulatedFlags ){
-                       var attrs, rename, k, v, memory, f;
+                       var // flags = that[ '_flags' ],
+                               attrs, rename, k, v, memory, f;
 
                        // textNode
                        if( !that[ '_tag' ] ){
@@ -1726,6 +1728,7 @@ var X_Node__updateRawNode =
                                that[ '_flags' ] &= X_Node_BitMask_RESET_DIRTY;
                                return;
                        };
+                       
                        // id
                        if( that[ '_flags' ] & X_NodeFlags_DIRTY_ID ){
                                that[ '_id' ] ?
@@ -1792,6 +1795,7 @@ var X_Node__updateRawNode =
                                delete that[ '_newAttrs' ];
                        };
                        
+                       
                        if( accumulatedFlags & X_NodeFlags_IE8_OPACITY_FIX ){
                                memory = that[ '_css' ] && that[ '_css' ].opacity;
                                if( f = true ){