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

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 9月 27日 (日) 22:56:01 JST


Revision: 1294
          http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=1294
Author:   dhrname
Date:     2009-09-27 22:56:01 +0900 (Sun, 27 Sep 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-09-27 13:55:47 UTC (rev 1293)
+++ branches/DOM/org/w3c/dom/svg.js	2009-09-27 13:56:01 UTC (rev 1294)
@@ -1628,7 +1628,8 @@
 };
 /*SVGMatrix*/ SVGElement.prototype.getTransformToElement = function(/*SVGElement*/ element ){
   var s = this.getCTM().inverse().multiply(element.getCTM());
-}
+};
+
 function SVGAnimatedBoolean() {
   /*boolean*/  this.animVal = this.baseVal = true;
   return this;
@@ -1668,7 +1669,7 @@
   },
   /*DOMString*/ replaceItem : function(/*DOMString*/ newItem, /*unsigned long*/ index ){
     if (index >= this.numberOfItems || this.numberOfItems < 0) {
-      throw (new Error(DOMException.INDEX_SIZE_ERR);
+      throw (new DOMException(DOMException.INDEX_SIZE_ERR));
     } else {
       this._list.splice(index, 1, newItem);
     }
@@ -1677,7 +1678,7 @@
                   //raises( DOMException, SVGException );
   /*DOMString*/ removeItem : function(/*unsigned long*/ index ){
     if (index >= this.numberOfItems || this.numberOfItems < 0) {
-      throw (new Error(DOMException.INDEX_SIZE_ERR);
+      throw (new DOMException(DOMException.INDEX_SIZE_ERR));
     } else {
       this._list.splice(index, 1);
     }
@@ -1721,8 +1722,7 @@
   SVGNumberList.prototype[prop] = SVGStringList.prototype[prop];
 }
 function SVGAnimatedNumberList() {
-  /*readonly SVGNumberList*/ this.baseVal = new SVGNumberList();
-  /*readonly SVGNumberList*/ this.animVal = new SVGNumberList();
+  /*readonly SVGNumberList*/ this.animVal = this.baseVal = new SVGNumberList();
   return this;
 };
 /*SVGLengthクラス
@@ -1967,8 +1967,7 @@
   return this;
 };
 function SVGAnimatedRect() { 
-  /*readonly SVGRect*/ this.baseVal = new SVGRect();
-  /*readonly SVGRect*/ this.animVal = new SVGRect();
+  /*readonly SVGRect*/ this.animVal = this.baseVal = new SVGRect();
   return this;
 };
 with(SVGUnitTypes) { 
@@ -3132,7 +3131,7 @@
   SVGTextPositioningElement.apply(this, arguments);
   /*DOMString*/ this.glyphRef;
   /*DOMString*/ this.format;
-  this._xlink = new SVGURIReference();
+  this._xlink = new SVGURIReference(this);
   return this;
 };
 SVGAltGlyphElement.constructor = SVGTextPositioningElement;
@@ -3237,7 +3236,7 @@
                        // prefix will be removed upon processing)
   /*DOMString*/      this.name;
   /*unsigned short*/ this.renderingIntent;
-  this._xlink = new SVGURIReference();
+  this._xlink = new SVGURIReference(this);
   return this;
 };
 SVGColorProfileElement.constructor = SVGElement;
@@ -3258,7 +3257,7 @@
   /*readonly SVGAnimatedEnumeration*/   this.gradientUnits = new SVGAnimatedEnumeration();
   /*readonly SVGAnimatedTransformList*/ this.gradientTransform = new SVGAnimatedTransformList();
   /*readonly SVGAnimatedEnumeration*/   this.spreadMethod = new SVGAnimatedEnumeration();
-  this._xlink = new SVGURIReference();
+  this._xlink = new SVGURIReference(this);
   return this;
 };
 SVGGradientElement.constructor = SVGElement;
@@ -3312,7 +3311,7 @@
   /*readonly SVGAnimatedLength*/        this.y = new SVGAnimatedLength(0);
   /*readonly SVGAnimatedLength*/        this.width = new SVGAnimatedLength(1000);
   /*readonly SVGAnimatedLength*/        this.height = new SVGAnimatedLength(1000);
-  this._xlink = new SVGURIReference();
+  this._xlink = new SVGURIReference(this);
     //SVGFitToViewBoxのインターフェースを用いる
   /*readonly SVGAnimatedRect*/   this.viewBox = new SVGAnimatedRect();
   /*readonly SVGAnimatedPreserveAspectRatio*/ this.preserveAspectRatio = new SVGAnimatedPreserveAspectRatio();




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