[Sie-announce] SIEコード [2204] getComputedStyleメソッドの最適化

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2010年 12月 3日 (金) 23:20:53 JST


Revision: 2204
          http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=2204
Author:   dhrname
Date:     2010-12-03 23:20:53 +0900 (Fri, 03 Dec 2010)

Log Message:
-----------
getComputedStyleメソッドの最適化

Modified Paths:
--------------
    branches/06x/065/org/w3c/dom/css.js

Modified: branches/06x/065/org/w3c/dom/css.js
===================================================================
--- branches/06x/065/org/w3c/dom/css.js	2010-12-03 14:20:34 UTC (rev 2203)
+++ branches/06x/065/org/w3c/dom/css.js	2010-12-03 14:20:53 UTC (rev 2204)
@@ -654,7 +654,7 @@
     }
     var p = this._cache._list;
   } else {
-    var p = CSS2Properties._list;     //デフォルト値の設定
+    var p = this._defaultCSS;     //デフォルト値の設定
   }
   var q = s._list;
   if (!!elt.style) {
@@ -682,7 +682,7 @@
   }
   s._list._opacity = p._opacity * (eso || 1);
   s._list._fontSize = p._fontSize;
-  eso = p = q = null;
+  pelt = eso = p = q = null;
   s._document = elt.ownerDocument;
   return s;
 };




Sie-announce メーリングリストの案内
Back to archive index