OSDN Git Service

Modify the hasAttrValues method on the
authordhrname <dhrname@users.sourceforge.jp>
Mon, 13 Feb 2017 13:45:28 +0000 (22:45 +0900)
committerdhrname <dhrname@users.sourceforge.jp>
Mon, 13 Feb 2017 13:45:28 +0000 (22:45 +0900)
org/w3c/dom/smil.js

index 8c2e5d2..c39b13e 100644 (file)
@@ -1998,7 +1998,7 @@ base("$calcMode").up("$attribute").mix( {
       if (this.$attribute.hasAttrValues.call(this)) {\r
         return true;\r
       } else {\r
-        return (this._ele.hasAttribute("path")\r
+        return (this._ele.hasAttribute("keyPoints") || this._ele.hasAttribute("path")\r
                  || this._ele.getElementsByTagNameNS(this.path.namespaceURI, "mpath").length);\r
       }\r
     },\r