[Sie-announce] SIEコード [1320]

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 10月 9日 (金) 23:09:59 JST


Revision: 1320
          http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=1320
Author:   dhrname
Date:     2009-10-09 23:09:59 +0900 (Fri, 09 Oct 2009)

Log Message:
-----------


Modified Paths:
--------------
    branches/DOM/org/w3c/dom/svg.js

Modified: branches/DOM/org/w3c/dom/svg.js
===================================================================
--- branches/DOM/org/w3c/dom/svg.js	2009-10-09 13:17:52 UTC (rev 1319)
+++ branches/DOM/org/w3c/dom/svg.js	2009-10-09 14:09:59 UTC (rev 1320)
@@ -2900,11 +2900,11 @@
 SVGRectElement.prototype.read = function( /*element*/ rect, /*Matrix*/ matrix, /*float*/ w, h) {
   this.tar = rect;
   try {
-    this.x.animVal = newValueSpecified((this.getNamedItem(null, "x") || 0), w);
-    this.y = new STLength((rect.getAttribute("y") || 0), h);
-    this.width = new STLength(rect.getAttribute("svgwidth"), w);
-    this.height = new STLength(rect.getAttribute("svgheight"), h);
-    var rx = rect.getAttribute("rx"), ry = rect.getAttribute("ry");
+    this.x.animVal = newValueSpecified((this.getAttributeNS(null, "x") || 0), w);
+    this.y = new STLength((rect.getAttributeNS(null,"y") || 0), h);
+    this.width = new STLength(rect.getAttributeNS(null,"width"), w);
+    this.height = new STLength(rect.getAttributeNS(null,"height"), h);
+    var rx = rect.getAttributeNS(null,"rx"), ry = rect.getAttributeNS(null,"ry");
     if (rx || ry) {
       this.rx = new STLength((rx || ry), w);
       this.ry = new STLength((ry || rx), h);
@@ -2916,7 +2916,6 @@
       }
     }
     this.paint = new NAIBU.PaintColor(rect);
-    this.transformable = NAIBU.transformToCTM(rect,matrix);
     w = h = rx = ry = null;
   } catch(ee) {stlog.add(ee,545);}
   return this;




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