OSDN Git Service

svg.jsのSVGElementがbase.jsのおかげで、不要になったので削除
authordhrname <sie-developers@lists.sourceforge.jp>
Sat, 30 Aug 2014 14:03:19 +0000 (23:03 +0900)
committerdhrname <sie-developers@lists.sourceforge.jp>
Sat, 30 Aug 2014 14:03:19 +0000 (23:03 +0900)
org/w3c/dom/svg.js

index 1539bb0..6a8662c 100644 (file)
@@ -132,7 +132,6 @@ NAIBU.eval = function(code) {
 /*$svgelement\r
  *すべてのSVG関連要素の雛形となるオブジェクト\r
  */\r
- function SVGElement(){};\r
 base("$document").$element.up("$svgelement").mix( {\r
   initialize: function () {\r
     SVGStylable.call(this);             //ElementCSSInlineStyleのインタフェースを継承\r
@@ -1532,7 +1531,6 @@ function SVGViewSpec(ele) {
 SVGViewSpec.prototype = Object._create(SVGFitToViewBox);\r
 \r
 function SVGGElement(_doc) {\r
-  SVGElement.apply(this);\r
   this._tar = _doc.createElement("v:group");\r
   _doc = void 0;\r
   /*以下の処理は、この子要素ノードがDOMツリーに追加されて初めて、\r
@@ -1566,31 +1564,22 @@ function SVGGElement(_doc) {
     tnext = sar = spar = snext = void 0;\r
   }, false);\r
 };\r
-SVGGElement.prototype = Object._create(SVGElement);\r
 \r
 function SVGDefsElement() {\r
-  SVGElement.apply(this);\r
   this.style.setProperty("display", "none");\r
 };\r
-SVGDefsElement.prototype = Object._create(SVGElement);\r
 \r
 function SVGDescElement() {\r
-  SVGElement.apply(this);\r
 }\r
-SVGDescElement.prototype = Object._create(SVGElement);\r
 \r
 function SVGTitleElement() {\r
-  SVGElement.apply(this);\r
   this.addEventListener("DOMCharacterDataModified", function(evt){\r
     evt.target.ownerDocument.title = evt.target.firstChild.nodeValue;\r
   }, false);\r
-}\r
-SVGTitleElement.prototype = Object._create(SVGElement);\r
+};\r
 \r
 function SVGSymbolElement(_doc) {\r
-  SVGElement.apply(this, arguments);\r
-}\r
-SVGSymbolElement.prototype = Object._create(SVGElement);\r
+};\r
 \r
 function SVGUseElement() {\r
   SVGGElement.apply(this, arguments);\r
@@ -1600,8 +1589,8 @@ function SVGUseElement() {
   /*readonly SVGAnimatedLength*/   this.width = new slen();\r
   /*readonly SVGAnimatedLength*/   this.height = new slen();\r
   slen = void 0;\r
-  /*readonly SVGElementInstance*/ this.instanceRoot = new SVGElement(); //参照先インスタンスのルート\r
-  /*readonly SVGElementInstance*/ this.animatedInstanceRoot = new SVGElement();//アニメの最中のインスタンス。静止中は通常\r
+  /*readonly SVGElementInstance*/ this.instanceRoot = this.up("$1"); //参照先インスタンスのルート\r
+  /*readonly SVGElementInstance*/ this.animatedInstanceRoot = this.up("$1");//アニメの最中のインスタンス。静止中は通常\r
   this.addEventListener("DOMNodeInserted", function(evt){\r
     if (evt.eventPhase === /*Event.BUBBLING_PHASE*/ 3) {\r
       return; //強制終了させる\r
@@ -1651,14 +1640,12 @@ function SVGUseElement() {
   }, false);\r
   SVGURIReference.apply(this);\r
 };\r
-SVGUseElement.prototype = Object._create(SVGElement);\r
 \r
 /*function SVGElementInstance\r
   *Nodeオブジェクトを継承させる\r
   *SVGElementInstanceList*/\r
 \r
 function SVGImageElement(_doc) {\r
-  SVGElement.apply(this, arguments);\r
   this._tar = _doc.createElement("v:image");\r
   //以下は、与えられた属性の値に対応する\r
   var slen = SVGAnimatedLength;\r
@@ -1686,7 +1673,6 @@ function SVGImageElement(_doc) {
   }, false);\r
   SVGURIReference.apply(this);\r
 };\r
-SVGImageElement.prototype = Object._create(SVGElement);\r
 /*_imageo関数は、SVGForeignObjectElementで再利用するので、切り離しておく*/\r
 SVGImageElement.prototype._imageo = function(evt) {\r
   var tar = evt.target,\r
@@ -1720,7 +1706,6 @@ SVGImageElement.prototype._imageo = function(evt) {
 };\r
 \r
 function SVGSwitchElement(_doc) {\r
-  SVGElement.apply(this);\r
   this._tar = _doc.createElement("v:group");\r
   _doc = void 0;\r
   this.addEventListener("DOMNodeInserted", function(evt){\r
@@ -1732,7 +1717,6 @@ function SVGSwitchElement(_doc) {
     evt = tar = void 0;\r
   }, false);\r
 };\r
-SVGSwitchElement.prototype = Object._create(SVGElement);\r
 \r
 //bookmarkletから呼び出されたらtrue\r
 var sieb_s;\r
@@ -1969,7 +1953,7 @@ function _ca_() {
         tis.top = _parseFloat(tis.top) - bt + "px";\r
       }\r
     }\r
-    //ビューポートの位置をスクロールで調整 (なお、_txプロパティは$svgsvgelementのSIEコードを参照)\r
+    //ビューポートの位置をスクロールで調整 (なお、_txプロパティはhttp://www.w3.org/2000/svgsvgオブジェクトのSIEコードを参照)\r
     ifcw && ifcw.scroll(-s.documentElement._tx, -s.documentElement._ty);\r
     s._isLoaded = 1;  //_isLoadedプロパティはevents::dispatchEventメソッドで使う\r
     s.defaultView._cache = s.defaultView._cache_ele = null;\r
@@ -2037,7 +2021,6 @@ NAIBU.emptyFunction = function() {};
  *style要素をあらわすオブジェクト\r
  */\r
 function SVGStyleElement(_doc) {\r
-  SVGElement.apply(this);\r
   base("$StyleSheet").LinkStyle.apply(this);\r
   /*LinkStyleに関しては、以下の仕様を参照のこと。なお、これはSVG DOMでは継承されていないので要注意。\r
    *CSS2 1. Document Object Model Style Sheets\r
@@ -2126,7 +2109,6 @@ function SVGStyleElement(_doc) {
     }, false);\r
   }, false);\r
 };\r
-SVGStyleElement.prototype = Object._create(SVGElement);\r
 \r
 /*SVGPoint\r
  *2次元座標の点(x,y)を表すオブジェクト\r
@@ -2724,7 +2706,6 @@ NAIBU._setPaint = function(tar, matrix) {
 };\r
 \r
 function SVGPathElement(_doc) {\r
-  SVGElement.apply(this);\r
   this._tar = _doc.createElement("v:shape");\r
   //interface SVGAnimatedPathData\r
   var sp = SVGPathSegList;\r
@@ -2741,7 +2722,6 @@ function SVGPathElement(_doc) {
    */\r
   this.addEventListener("DOMNodeInserted", this._nodeInsert, false);\r
 };\r
-SVGPathElement.prototype = Object._create(SVGElement);\r
 (function(_sproto) {\r
 _sproto._attrModi = function(evt){\r
   var tar = evt.target;\r
@@ -3411,7 +3391,6 @@ _sproto._com = {
 })(document, Math);\r
 \r
 function SVGRectElement(_doc) {\r
-  SVGElement.apply(this);\r
   this._tar = _doc.createElement("v:shape");\r
   var slen = SVGAnimatedLength;\r
   /*readonly SVGAnimatedLength*/ this.x = new slen();\r
@@ -3524,10 +3503,8 @@ function SVGRectElement(_doc) {
     evt = tar = void 0;\r
   }, false);\r
 };\r
-SVGRectElement.prototype = Object._create(SVGElement);\r
 \r
 function SVGCircleElement(_doc) {\r
-  SVGElement.apply(this);\r
   this._tar = _doc.createElement("v:shape");\r
   var sl = SVGAnimatedLength;\r
   /*readonly SVGAnimatedLength*/ this.cx = new sl();\r
@@ -3610,10 +3587,8 @@ function SVGCircleElement(_doc) {
     evt = tar = void 0;\r
   }, false);\r
 };\r
-SVGCircleElement.prototype = Object._create(SVGElement);\r
 \r
 function SVGEllipseElement(_doc) {\r
-  SVGElement.apply(this);\r
   this._tar = _doc.createElement("v:shape");\r
   var sl = SVGAnimatedLength;\r
   /*readonly SVGAnimatedLength*/ this.cx = new sl();\r
@@ -3699,10 +3674,8 @@ function SVGEllipseElement(_doc) {
     evt = tar = void 0;\r
   }, false);\r
 };\r
-SVGEllipseElement.prototype = Object._create(SVGElement);\r
 \r
 function SVGLineElement(_doc) {\r
-  SVGElement.apply(this);\r
   this._tar = _doc.createElement("v:shape");\r
   var sl = SVGAnimatedLength;\r
   /*readonly SVGAnimatedLength*/ this.x1 = new sl();\r
@@ -3771,14 +3744,12 @@ function SVGLineElement(_doc) {
     evt = tar = void 0;\r
   }, false);\r
 };\r
-SVGLineElement.prototype = Object._create(SVGElement);\r
 \r
 /*_GenericSVGPolyElementインターフェース\r
  * このインターフェースはpolygonとpolyline要素共通のインターフェースとして使用。\r
  * ファイルサイズを軽量にすることができる\r
  */\r
 NAIBU._GenericSVGPolyElement = function (_doc, xclose) {\r
-  SVGElement.apply(this);\r
   this._tar = _doc.createElement("v:shape");\r
   _doc = void 0;\r
   //interface SVGAnimatedPoints\r
@@ -3842,16 +3813,13 @@ function SVGPolylineElement(_doc) {
   NAIBU._GenericSVGPolyElement.call(this, _doc, "e");\r
   _doc = void 0;\r
 };\r
-SVGPolylineElement.prototype = Object._create(SVGElement);\r
 \r
 function SVGPolygonElement(_doc) {\r
   NAIBU._GenericSVGPolyElement.call(this, _doc, "x e");\r
   _doc = void 0;\r
 };\r
-SVGPolygonElement.prototype = Object._create(SVGElement);\r
 \r
 function SVGTextContentElement(_doc) {\r
-  SVGElement.apply(this);\r
   /*readonly SVGAnimatedLength*/      this.textLength = new SVGAnimatedLength();\r
   /*readonly SVGAnimatedEnumeration*/ this.lengthAdjust = new SVGAnimatedEnumeration(/*SVGTextContentElement.LENGTHADJUST_UNKNOWN*/ 0);\r
   this.addEventListener("DOMNodeInserted", function(evt){\r
@@ -3917,8 +3885,7 @@ function SVGTextContentElement(_doc) {
 };\r
 \r
 (function(t) {\r
-  var tproto;\r
-  tproto = t.prototype = Object._create(SVGElement);\r
+  var tproto = t.prototype;\r
     // lengthAdjust Types\r
   /*unsigned short t.LENGTHADJUST_UNKNOWN           = 0;\r
   /*unsigned short t.LENGTHADJUST_SPACING           = 1;\r
@@ -4522,6 +4489,7 @@ base("$CSSValue").$SVGColor.up("$SVGPaint").mix( {
 //                    raises( SVGException );\r
 } ) ;\r
 \r
+/*makerのインタフェースをsvg要素のオブジェクトで補う場合のみ、getScreenCTMメソッドの扱いに注意すること*/\r
 function SVGMarkerElement(_doc) {\r
   _doc = void 0;\r
   var sl = SVGAnimatedLength;\r
@@ -4539,7 +4507,7 @@ function SVGMarkerElement(_doc) {
   /*readonly SVGAnimatedEnumeration*/ this.orientType = new SVGAnimatedEnumeration();\r
   this.orientType.baseVal = /*SVGMarkerElement.SVG_MARKER_ORIENT_ANGLE*/ 2;\r
   /*readonly SVGAnimatedAngle*/       this.orientAngle = new SVGAnimatedAngle();\r
-    //SVGFitToViewBoxのインターフェースは$svgsvgelementで代用\r
+    //SVGFitToViewBoxのインターフェースはhttp://www.w3.org/2000/svgsvgオブジェクトで代用\r
   this.addEventListener("DOMAttrModified", function(evt) {\r
     var tar = evt.target,\r
         en = evt.newValue,\r
@@ -4683,7 +4651,6 @@ function SVGMarkerElement(_doc) {
   /*unsigned short t.SVG_MARKER_ORIENT_UNKNOWN      = 0;\r
   /*unsigned short t.SVG_MARKER_ORIENT_AUTO         = 1;\r
   /*unsigned short t.SVG_MARKER_ORIENT_ANGLE        = 2;*/\r
-  t.prototype.getScreenCTM = SVGElement.prototype.getScreenCTM;\r
   /*void*/ t.prototype.setOrientToAuto = function() {\r
   this.orientType.baseVal = /*t.SVG_MARKER_ORIENT_AUTO*/ 1;\r
 };\r
@@ -4694,7 +4661,6 @@ function SVGMarkerElement(_doc) {
 };\r
 })(SVGMarkerElement);\r
 function SVGColorProfileElement() {\r
-  SVGElement.apply(this);\r
   /*DOMString*/      this._local;\r
                          // raises DOMException on setting\r
                        // (NOTE: is prefixed by "_"\r
@@ -4704,7 +4670,6 @@ function SVGColorProfileElement() {
   /*unsigned short*/ this.renderingIntent;\r
   SVGURIReference.apply(this);\r
 };\r
-SVGColorProfileElement.prototype = Object._create(SVGElement);\r
 \r
 base("$CSSStyleRule").$SVGCSSRule.up("$SVGColorProfileRule").mix( {\r
   /*DOMString      this.src;*/\r
@@ -4713,7 +4678,6 @@ base("$CSSStyleRule").$SVGCSSRule.up("$SVGColorProfileRule").mix( {
 } );\r
 \r
 function SVGGradientElement() {\r
-  SVGElement.apply(this);\r
   SVGURIReference.apply(this);\r
   /*readonly SVGAnimatedEnumeration*/   this.gradientUnits = new SVGAnimatedEnumeration();\r
   /*readonly SVGAnimatedTransformList*/ this.gradientTransform = new SVGAnimatedTransformList();\r
@@ -4776,7 +4740,6 @@ function SVGGradientElement() {
     grad = grad2 = ele = stops = length = color = colors = opacity = evt = t = href = stop = sstyle = ci = o1 = o2 = void 0;\r
   }, false);\r
 };\r
-SVGGradientElement.prototype = Object._create(SVGElement);\r
     // Spread Method Types\r
   /*unsigned short SVGGradientElement.SVG_SPREADMETHOD_UNKNOWN = 0;\r
   /*unsigned short SVGGradientElement.SVG_SPREADMETHOD_PAD     = 1;\r
@@ -4928,7 +4891,6 @@ function SVGRadialGradientElement(_doc) {
 SVGRadialGradientElement.prototype = Object._create(SVGGradientElement);\r
 \r
 function SVGStopElement() {\r
-  SVGElement.apply(this);\r
   /*readonly SVGAnimatedNumber*/ this.offset = new SVGAnimatedNumber();\r
   this.addEventListener("DOMAttrModified", function(evt) {\r
     if (evt.attrName === "offset") {\r
@@ -4942,10 +4904,8 @@ function SVGStopElement() {
     evt = void 0;\r
   }, false);\r
 };\r
-SVGStopElement.prototype = Object._create(SVGElement);\r
 \r
 function SVGPatternElement() {\r
-  SVGElement.apply(this);\r
   var sl = SVGAnimatedLength;\r
   /*readonly SVGAnimatedEnumeration*/   this.patternUnits = new SVGAnimatedEnumeration();\r
   /*readonly SVGAnimatedEnumeration*/   this.patternContentUnits = new SVGAnimatedEnumeration();\r
@@ -4961,16 +4921,12 @@ function SVGPatternElement() {
   /*readonly SVGAnimatedPreserveAspectRatio*/ this.preserveAspectRatio = new SVGAnimatedPreserveAspectRatio();\r
   /*unsigned short*/             this.zoomAndPan = /*SVGZoomAndPan.SVG_ZOOMANDPAN_DISABLE*/ 1;\r
 };\r
-SVGPatternElement.prototype = Object._create(SVGElement);\r
 \r
 function SVGClipPathElement() {\r
-  SVGElement.apply(this);\r
   /*readonly SVGAnimatedEnumeration*/ this.clipPathUnits = new SVGAnimatedEnumeration();\r
 };\r
-SVGClipPathElement.prototype = Object._create(SVGElement);\r
 \r
 function SVGMaskElement() {\r
-  SVGElement.apply(this);\r
   var sl = SVGAnimatedLength;\r
   /*readonly SVGAnimatedEnumeration*/ this.maskUnits = new SVGAnimatedEnumeration();\r
   /*readonly SVGAnimatedEnumeration*/ this.maskContentUnits = new SVGAnimatedEnumeration();\r
@@ -4980,10 +4936,8 @@ function SVGMaskElement() {
   /*readonly SVGAnimatedLength*/      this.height = new sl();\r
   sl = void 0;\r
 };\r
-SVGMaskElement.prototype = Object._create(SVGElement);\r
 \r
 function SVGFilterElement() {\r
-  SVGElement.apply(this);\r
   var sl = SVGAnimatedLength;\r
   /*readonly SVGAnimatedEnumeration*/ this.filterUnits = new SVGAnimatedEnumeration();\r
   /*readonly SVGAnimatedEnumeration*/ this.primitiveUnits = new SVGAnimatedEnumeration();\r
@@ -4997,7 +4951,6 @@ function SVGFilterElement() {
   SVGURIReference.apply(this);\r
   //setFilterRes (/*unsigned long*/ filterResX,/*unsigned long*/ filterResY );\r
 };\r
-SVGFilterElement.prototype = Object._create(SVGElement);\r
 \r
 function SVGFilterPrimitiveStandardAttributes(ele) {\r
   SVGStylable.apply(this, arguments);\r
@@ -5013,13 +4966,11 @@ function SVGFilterPrimitiveStandardAttributes(ele) {
 SVGFilterPrimitiveStandardAttributes.prototype = Object._create(SVGStylable);\r
 \r
 function SVGFEBlendElement() {\r
-  SVGElement.apply(this);\r
   /*readonly SVGAnimatedString*/      this.in1 = new SVGAnimatedString();\r
   /*readonly SVGAnimatedString*/      this.in2 = new SVGAnimatedString();\r
   /*readonly SVGAnimatedEnumeration*/ this.mode = new SVGAnimatedEnumeration();\r
   this._fpsa = SVGFilterPrimitiveStandardAttributes(this);\r
 };\r
-SVGFEBlendElement.prototype = Object._create(SVGElement);\r
     // Blend Mode Types\r
   /*unsigned short SVGFEBlendElement.SVG_FEBLEND_MODE_UNKNOWN  = 0;\r
   /*unsigned short SVGFEBlendElement.SVG_FEBLEND_MODE_NORMAL   = 1;\r
@@ -5029,27 +4980,22 @@ SVGFEBlendElement.prototype = Object._create(SVGElement);
   /*unsigned short SVGFEBlendElement.SVG_FEBLEND_MODE_LIGHTEN  = 5;*/\r
 \r
 function SVGFEGaussianBlurElement() {\r
-  SVGElement.apply(this);\r
   /*readonly SVGAnimatedString*/ this.in1 = new SVGAnimatedString();\r
   /*readonly SVGAnimatedNumber*/ this.stdDeviationX = new SVGAnimatedNumber();\r
   /*readonly SVGAnimatedNumber*/ this.stdDeviationY = new SVGAnimatedNumber();\r
   this._fpsa = SVGFilterPrimitiveStandardAttributes(this);\r
 };\r
-SVGFEGaussianBlurElement.prototype = Object._create(SVGElement);\r
 /*void*/ SVGFEGaussianBlurElement.prototype.setStdDeviation = function(/*float*/ stdDeviationX, /*float*/ stdDeviationY ) {\r
 \r
 };\r
 \r
 function SVGCursorElement() {\r
-  SVGElement.apply(this);\r
   /*readonly SVGAnimatedLength*/ this.x = new SVGAnimatedLength();\r
   /*readonly SVGAnimatedLength*/ this.y = new SVGAnimatedLength();\r
   SVGURIReference.apply(this);\r
 };\r
-SVGCursorElement.prototype = Object._create(SVGElement);\r
 \r
 function SVGAElement(_doc) {\r
-  SVGElement.apply(this);\r
   this._tar = _doc.createElement("a");\r
   _doc = void 0;\r
   /*readonly SVGAnimatedString*/ this.target = new SVGAnimatedString();\r
@@ -5165,20 +5111,16 @@ function SVGAElement(_doc) {
   }, false);\r
   SVGURIReference.apply(this);\r
 };\r
-SVGAElement.prototype = Object._create(SVGElement);\r
 \r
 function SVGViewElement() {\r
-  SVGElement.apply(this);\r
   /*readonly SVGStringList*/ this.viewTarget = new SVGStringList();\r
       //SVGFitToViewBoxのインターフェースを用いる\r
   /*readonly SVGAnimatedRect*/   this.viewBox = new SVGAnimatedRect();\r
   /*readonly SVGAnimatedPreserveAspectRatio*/ this.preserveAspectRatio = new SVGAnimatedPreserveAspectRatio();\r
   /*unsigned short*/             this.zoomAndPan = /*SVGZoomAndPan.SVG_ZOOMANDPAN_DISABLE*/ 1;\r
 };\r
-SVGViewElement.prototype = Object._create(SVGElement);\r
 \r
 function SVGScriptElement() {\r
-  SVGElement.apply(this);\r
   /*DOMString*/ this.type;\r
   SVGURIReference.apply(this);\r
   this.addEventListener("DOMAttrModified", function(evt){\r
@@ -5226,7 +5168,6 @@ function SVGScriptElement() {
     }, false);\r
   }, false);\r
 };\r
-SVGScriptElement.prototype = Object._create(SVGElement);\r
 \r
 base("$event").up("SVGEvents");\r
 \r
@@ -5238,7 +5179,6 @@ base("$event").SVGZoomEvents = base("$event").UIEvents.up("SVGZoomEvents").on("i
 });\r
 \r
 function SVGAnimationElement() {\r
-  SVGElement.apply(this);\r
   /*SIEにおけるSVGElementでは、fill属性とStyleSheetを結びつける機構があるため、\r
    *styleのsetPropertyメソッドを無効化させておく必要がある\r
    */\r
@@ -5521,7 +5461,6 @@ function SVGAnimationElement() {
   }, false);\r
 };\r
 (function(t) {\r
-SVGAnimationElement.prototype = t;\r
 /*以下のメソッド(beginElementなど)については、\r
  *別モジュールであるsmil::ElementTimeControl(smil.js)を参照のこと\r
  */\r
@@ -5657,7 +5596,7 @@ t._getOffset = function(/*string*/ val) {
     return (this._getOffset(this._dur));\r
   }\r
 };\r
-})(Object._create(SVGElement));\r
+})(SVGAnimationElement.prototype);\r
                     //raises( DOMException );\r
 NAIBU.Time = {\r
   currentFrame : 0,\r
@@ -6129,10 +6068,8 @@ function SVGMPathElement() /* :
                 SVGElement,\r
                 SVGURIReference,\r
                 SVGExternalResourcesRequired*/ {\r
-  SVGElement.apply(this);\r
   SVGURIReference.apply(this);\r
 };\r
-SVGMPathElement.prototype = Object._create(SVGElement);\r
 \r
 function SVGAnimateColorElement() {\r
   SVGAnimationElement.apply(this);\r
@@ -6269,7 +6206,6 @@ function SVGFontElement() /*:
                 SVGElement,\r
                 SVGExternalResourcesRequired,\r
                 SVGStylable*/ {\r
-  SVGElement.apply(this);\r
   /*_isExternalは外部から呼び出されたfont要素ならば、真(1)となる*/\r
   /*boolean or number*/ this._isExternal = 0;\r
   this.addEventListener("DOMNodeInserted", function(evt){\r
@@ -6299,34 +6235,24 @@ function SVGFontElement() /*:
     }, false);\r
   }, false);\r
 };\r
-SVGFontElement.prototype = Object._create(SVGElement);\r
 \r
 function SVGGlyphElement() /*:\r
                 SVGElement,\r
                 SVGStylable*/ {\r
-  SVGElement.apply(this);\r
 };\r
-SVGGlyphElement.prototype = Object._create(SVGElement);\r
 \r
 function SVGMissingGlyphElement() /*:\r
                 SVGElement,\r
                 SVGStylable*/ {\r
-  SVGElement.apply(this);\r
 };\r
-SVGMissingGlyphElement.prototype = Object._create(SVGElement);\r
 \r
 function SVGHKernElement() {\r
-  SVGElement.apply(this);\r
 };\r
-SVGHKernElement.prototype = Object._create(SVGElement);\r
 \r
 function SVGVKernElement() {\r
-  SVGElement.apply(this);\r
 };\r
-SVGVKernElement.prototype = Object._create(SVGElement);\r
 \r
 function SVGFontFaceElement() {\r
-  SVGElement.apply(this);\r
   /*boolean(or number)*/ this._isLinked = 0;\r
   this.addEventListener("DOMNodeInserted", function(evt){\r
     if (evt.eventPhase === /*Event.BUBBLING_PHASE*/ 3) {\r
@@ -6337,15 +6263,11 @@ function SVGFontFaceElement() {
     }\r
   }, false);\r
 };\r
-SVGFontFaceElement.prototype = Object._create(SVGElement);\r
 \r
 function SVGFontFaceSrcElement() {\r
-  SVGElement.apply(this);\r
 };\r
-SVGFontFaceSrcElement.prototype = Object._create(SVGElement);\r
 \r
 function SVGFontFaceUriElement() {\r
-  SVGElement.apply(this);\r
   this.addEventListener("DOMNodeInserted", function(evt){\r
     if (evt.eventPhase === /*Event.BUBBLING_PHASE*/ 3) {\r
       return; //強制終了させる\r
@@ -6364,22 +6286,15 @@ function SVGFontFaceUriElement() {
   }, false);\r
   SVGURIReference.apply(this);\r
 };\r
-SVGFontFaceUriElement.prototype = Object._create(SVGElement);\r
 \r
 function SVGFontFaceFormatElement() {\r
-  SVGElement.apply(this);\r
 };\r
-SVGFontFaceFormatElement.prototype = Object._create(SVGElement);\r
 \r
 function SVGFontFaceNameElement() {\r
-  SVGElement.apply(this);\r
 };\r
-SVGFontFaceNameElement.prototype = Object._create(SVGElement);\r
 \r
 function SVGDefinitionSrcElement() {\r
-  SVGElement.apply(this);\r
 };\r
-SVGDefinitionSrcElement.prototype = Object._create(SVGElement);\r
 \r
 function SVGForeignObjectElement(_doc) /*:\r
                 SVGElement,\r
@@ -6390,7 +6305,6 @@ function SVGForeignObjectElement(_doc) /*:
                 SVGTransformable,\r
                 events::EventTarget*/ {\r
   this._tar = _doc.createElement("v:group");\r
-  SVGElement.apply(this);\r
   var sl = SVGAnimatedLength;\r
   /*readonly SVGAnimatedLength*/ this.x = new sl();\r
   /*readonly SVGAnimatedLength*/ this.y = new sl();\r
@@ -6471,7 +6385,6 @@ function SVGForeignObjectElement(_doc) /*:
     }\r
   }, true);\r
 };\r
-SVGForeignObjectElement.prototype = Object._create(SVGElement);\r
 \r
 //#endif  _SVG_IDL_\r
 base("DOMImplementation")["http://www.w3.org/2000/svg"] = {\r
@@ -6747,7 +6660,7 @@ function unsvgtovml() {
     window.onscroll = NAIBU.emptyFunction;\r
     window.detachEvent("onload", NAIBU._main);\r
     NAIBU.freeArg();\r
-    base = Object._create = SVGElement = CSS2Properties = NAIBU.xmlhttp = NAIBU = STLog =  void 0;\r
+    base = Object._create = CSS2Properties = NAIBU.xmlhttp = NAIBU = STLog =  void 0;\r
     Array = ActiveXObject = void 0;\r
   } catch(e) {}\r
 }\r