X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=0.6.x%2Fjs%2Fdom%2F15_XDomStyle.js;fp=0.6.x%2Fjs%2Fdom%2F15_XDomStyle.js;h=9b747d4db03e5abd7f17355a57acbb02db380901;hb=c88f93f5edb6e6daf95ce94399d46a2ec5d6fa5f;hp=7cb04102622b65400455c06e8365a4493d4fe352;hpb=d0f13b6086143af1a134cf24282e817b5a86ca42;p=pettanr%2FclientJs.git diff --git a/0.6.x/js/dom/15_XDomStyle.js b/0.6.x/js/dom/15_XDomStyle.js index 7cb0410..9b747d4 100644 --- a/0.6.x/js/dom/15_XDomStyle.js +++ b/0.6.x/js/dom/15_XDomStyle.js @@ -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', 'X' ); 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 = {},