OSDN Git Service

Modify the ticket #36513
authordhrname <dhrname@users.sourceforge.jp>
Wed, 29 Mar 2017 13:28:23 +0000 (22:28 +0900)
committerdhrname <dhrname@users.sourceforge.jp>
Wed, 29 Mar 2017 13:28:23 +0000 (22:28 +0900)
ChangeLog.txt
org/w3c/dom/smil.js

index e4520f0..3818605 100644 (file)
@@ -1,8 +1,9 @@
-2017-3-25 version 31 (beta)\r
+2017-4-8 version 31\r
 1, アニメーション開始時の高速化\r
 2, keyPoints属性の実装\r
 3, チケット #36512「animate-elem-33-t.svgの不具合」を修正\r
-4, チケット #36513「animate-elem-46-t.svgでの不具合」を修正\r
+4, チケット #36513「animate-elem-46-t.svgでの不具合」を修正 (beta fixed)\r
+5, animate-elem-77-t.svgにおけるアニメーションの不具合を修正\r
 \r
 2016-11-28 version 30\r
 1, begin属性とend属性の値を、リストに対応させた\r
index a934516..cc83ba6 100644 (file)
@@ -989,6 +989,12 @@ base("$calcMode").up("$attribute").mix( {
         return view.getComputedStyle(this._ele, "").getPropertyValue("color");\r
       }\r
     }\r
+    if ( s && (this._ele.getAttributeNS(null, "attributeName") === "font-size") \r
+          && /\d\s*$/.test(s) ) {\r
+        s += "px";\r
+        s = s.replace(/;/g, "px;");\r
+        console.log(s);\r
+    }\r
     /*DOM Level2やIE11では、getAttributeNSメソッドは空文字列を返す。他のブラウザではnullを返すことが多い\r
      * \r
      * >the empty string if that attribute does not have a specified or default value\r
@@ -1471,10 +1477,6 @@ base("$calcMode").up("$attribute").mix( {
       this._ele = ele;\r
       this.to = this.getAttr("to", "");\r
       this.fill = this.getAttr("fill", "remove");\r
-      if ( (this.getAttr("attributeName", "") === "font-size") \r
-          && /\d\s*$/.test(this.to) ) {\r
-        this.to += "px";\r
-      }\r
     }\r
     var thisele = this.element;\r
     if (line && thisele) {\r