svnno****@sourc*****
svnno****@sourc*****
2009年 5月 20日 (水) 20:58:23 JST
Revision: 1177 http://svn.sourceforge.jp/view?root=sie&view=rev&rev=1177 Author: dhrname Date: 2009-05-20 20:58:23 +0900 (Wed, 20 May 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-05-15 14:16:15 UTC (rev 1176) +++ branches/DOM/org/w3c/dom/svg.js 2009-05-20 11:58:23 UTC (rev 1177) @@ -1734,27 +1734,30 @@ unsigned short code; }; // SVGExceptionCode - const unsigned short SVG_WRONG_TYPE_ERR = 0; - const unsigned short SVG_INVALID_VALUE_ERR = 1; - const unsigned short SVG_MATRIX_NOT_INVERTABLE = 2; - interface SVGElement : Element { - attribute DOMString id; - // raises DOMException on setting - attribute DOMString xmlbase; - // raises DOMException on setting - readonly attribute SVGSVGElement ownerSVGElement; - readonly attribute SVGElement viewportElement; - }; - interface SVGAnimatedBoolean { - attribute boolean baseVal; - // raises DOMException on setting - readonly attribute boolean animVal; - }; - interface SVGAnimatedString { - attribute DOMString baseVal; - // raises DOMException on setting - readonly attribute DOMString animVal; - }; +/*const unsigned short*/ SVG_WRONG_TYPE_ERR = 0; +/*const unsigned short*/ SVG_INVALID_VALUE_ERR = 1; +/*const unsigned short*/ SVG_MATRIX_NOT_INVERTABLE = 2; +function SVGElement() { + /*String*/ this.id = null; + /*String*/ this.xmlbase = null; + /*SVGSVGElement*/ this.ownerSVGElement; + /*readonly SVGElement*/ this.viewportElement; + return this; +}; +SVGElement.constructor = Element; +SVGElement.prototype = new Element(); + +function SVGAnimatedBoolean() { + /*boolean*/ this.baseVal = true; + /*readonly boolean*/ this.animVal; + return this; +}; + +function SVGAnimatedString() { + /*String*/ this.baseVal = ""; + /*readonly String*/ this.animVal; + return this; +}; interface SVGStringList { readonly attribute unsigned long numberOfItems; void clear ( )