OSDN Git Service

Version 0.6.30, bugfix.
[pettanr/clientJs.git] / 0.6.x / js / dom / 15_XDomStyle.js
index 7cb0410..9b747d4 100644 (file)
@@ -1093,7 +1093,7 @@ X.Dom.Node.prototype._getCharSize =
                }) :
        X.UA.IE ?
                (function(){
-                       var elm = this._rawNode, v;
+                       var elm = this._rawNode || this._ie4getRawNode(), v;
                        elm.insertAdjacentHTML( 'BeforeEnd', '<span style="visivility:hidden;line-height:1;">X</span>' );
                        elm = elm.children[ elm.children.length - 1 ];
                        v   = elm.offsetHeight;
@@ -1105,7 +1105,7 @@ X.Dom.Node.prototype._getCharSize =
 
 
 X.Dom.listenOnce( X.Dom.Event.DOM_PRE_INIT, function(){
-       var testStyle = X.Dom._root.style;
+       var testStyle = X.Dom._root;//.style;
        
        X.Dom.Style.VENDER_PREFIX = (function(){
                var ret       = {},