From: dhrname Date: Sun, 10 Aug 2014 13:58:41 +0000 (+0900) Subject: getPresentationAttributeメソッドの修正 X-Git-Tag: version22~426 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=f22542a11cf4437b1cdb9720660dfdf860b73743;p=sie%2Fsie.git getPresentationAttributeメソッドの修正 --- diff --git a/org/w3c/dom/svg.js b/org/w3c/dom/svg.js index 5328934..5ebcfb1 100644 --- a/org/w3c/dom/svg.js +++ b/org/w3c/dom/svg.js @@ -949,7 +949,7 @@ function SVGStylable() { /*getPresentationAttributeメソッド *プレゼンテーション属性の値をCSSValueとして得る。これはCSSのスタイルの設定値を定めるときや、内部の動的処理に役立つ */ -/*css::CSSValue*/ SVGElement.prototype.getPresentationAttribute = function( /*DOMString*/ name ){ +/*css::CSSValue*/base("$document").$element.$svgelement.getPresentationAttribute = function( /*DOMString*/ name ){ var s = this._attributeStyle.getPropertyCSSValue(name); if (s) { return s;