OSDN Git Service

createDocumentメソッドにSVGStyalableミックスインを追加
authordhrname <sie-developers@lists.sourceforge.jp>
Wed, 14 May 2014 13:07:29 +0000 (22:07 +0900)
committerdhrname <sie-developers@lists.sourceforge.jp>
Wed, 14 May 2014 13:07:29 +0000 (22:07 +0900)
org/w3c/dom/svg.js

index 56016a1..c44a775 100644 (file)
@@ -1146,7 +1146,8 @@ SVGCSSRule.prototype = Object._create(CSSRule);  //ノードのプロトタイ
 DOMImplementation._createDocument = DOMImplementation.createDocument;\r
 DOMImplementation.createDocument = function() {\r
   return this._createDocument.apply(this, arguments).mix(function() {\r
-    DocumentStyle.apply(this);\r
+    DocumentStyle.call(this);\r
+    SVGStylable.call(this);\r
     /*readonly DOMString*/     this.title    = "";\r
     /*readonly DOMString*/     this.referrer = document.referrer;\r
     /*readonly DOMString*/     this.domain   = document.domain;\r