svnno****@sourc*****
svnno****@sourc*****
2011年 11月 15日 (火) 20:28:28 JST
Revision: 3093
http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=3093
Author: dhrname
Date: 2011-11-15 20:28:28 +0900 (Tue, 15 Nov 2011)
Log Message:
-----------
SVGElementインターフェースの軽量化
Modified Paths:
--------------
branches/08x/089/org/w3c/dom/svg.js
Modified: branches/08x/089/org/w3c/dom/svg.js
===================================================================
--- branches/08x/089/org/w3c/dom/svg.js 2011-11-15 11:19:54 UTC (rev 3092)
+++ branches/08x/089/org/w3c/dom/svg.js 2011-11-15 11:28:28 UTC (rev 3093)
@@ -268,7 +268,8 @@
if (!!n) {
n = n[0];
}
- if (n === "%") {
+ if (!n) { //軽量化のためにチェックを設ける
+ } else if (n === "%") {
if (tar._x1width[name]) {
tea.baseVal._percent = tvw * 0.01;
} else if (tar._y1height[name]) {