svnno****@sourc*****
svnno****@sourc*****
2011年 4月 6日 (水) 22:44:59 JST
Revision: 2566 http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=2566 Author: dhrname Date: 2011-04-06 22:44:59 +0900 (Wed, 06 Apr 2011) Log Message: ----------- CSS2Propertiesの初期化に対して、変数を整理 Modified Paths: -------------- branches/07x/075/org/w3c/dom/svg.js Modified: branches/07x/075/org/w3c/dom/svg.js =================================================================== --- branches/07x/075/org/w3c/dom/svg.js 2011-04-06 13:30:39 UTC (rev 2565) +++ branches/07x/075/org/w3c/dom/svg.js 2011-04-06 13:44:59 UTC (rev 2566) @@ -5862,6 +5862,7 @@ */ (function(){ var s = new CSSStyleDeclaration(), + slis = s._list, n = 0, regAZ = /([A-Z])/, regm = /\-/, @@ -5876,16 +5877,16 @@ } t = t.replace(regm, u); s.setProperty(t, CSS2Properties[i]); - s._list[t] = s._list[n]; //この処理はCSSモジュールのgetComputedStyleメソッドのため + slis[t] = slis[n]; //この処理はCSSモジュールのgetComputedStyleメソッドのため ++n; i = t = u = null; } } - s._list._opacity = 1; - s._list._fontSize = 12; - CSS2Properties._list = s._list; - Document.prototype.defaultView._defaultCSS = s._list; - s = n = regAZ = regm =null; + slis._opacity = 1; + slis._fontSize = 12; + CSS2Properties._list = slis; + Document.prototype.defaultView._defaultCSS = slis; + s = n = regAZ = regm = slis =null; })(); NAIBU.addEvent = function(evt,lis){