OSDN Git Service

getPresentationAttributeメソッドの修正
authordhrname <sie-developers@lists.sourceforge.jp>
Sun, 10 Aug 2014 13:58:41 +0000 (22:58 +0900)
committerdhrname <sie-developers@lists.sourceforge.jp>
Sun, 10 Aug 2014 13:58:41 +0000 (22:58 +0900)
org/w3c/dom/svg.js

index 5328934..5ebcfb1 100644 (file)
@@ -949,7 +949,7 @@ function SVGStylable() {
 /*getPresentationAttributeメソッド\r
  *プレゼンテーション属性の値をCSSValueとして得る。これはCSSのスタイルの設定値を定めるときや、内部の動的処理に役立つ\r
  */\r
-/*css::CSSValue*/ SVGElement.prototype.getPresentationAttribute = function( /*DOMString*/ name ){\r
+/*css::CSSValue*/base("$document").$element.$svgelement.getPresentationAttribute = function( /*DOMString*/ name ){\r
   var s = this._attributeStyle.getPropertyCSSValue(name);\r
   if (s) {\r
     return s;\r