OSDN Git Service

Modify the init method of the object
authordhrname <dhrname@users.sourceforge.jp>
Thu, 31 Mar 2016 12:22:36 +0000 (21:22 +0900)
committerdhrname <dhrname@users.sourceforge.jp>
Thu, 31 Mar 2016 12:22:36 +0000 (21:22 +0900)
org/w3c/dom/smil.js

index 7ac2122..6e7fb3c 100644 (file)
@@ -1433,7 +1433,7 @@ base("$calcMode").up("$attribute").mix( {
      d = d && (d + " ");\r
      /*他のanimateTransform要素がadditive属性の値にreplaceをすでに設定していた場合、\r
       *初期値であるdは反映されなくなる*/\r
-     if (list.numberOfReplace >= 0) {\r
+     if ( (list.numberOfReplace !== void 0) && (list.numberOfReplace >= 0) ) {\r
         d = "";\r
      }\r
      if (this.isSum) {\r