OSDN Git Service

Modify the _step function
authordhrname <dhrname@users.sourceforge.jp>
Tue, 15 Nov 2016 13:37:37 +0000 (22:37 +0900)
committerdhrname <dhrname@users.sourceforge.jp>
Tue, 15 Nov 2016 13:37:37 +0000 (22:37 +0900)
org/w3c/dom/smil.js
tool/Spec/spec/SvgDomSpec.js

index 4185ec8..698859a 100644 (file)
@@ -2096,9 +2096,9 @@ window.addEventListener && window.addEventListener("load", getDocument);
 function __step() {\r
 /*EdgeはhasFeatureメソッドでtrueを返す*/\r
 if (!document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Animation", "1.1")\r
-    || window.navigator.userAgent.toLowerCase().indexOf("edge")) {\r
+    || (window.navigator.userAgent.toLowerCase().indexOf("edge") > 0)) {\r
   if (window.requestAnimationFrame && requestAnimationFrame) {\r
-    /*IE11などSMILアニメーションに対応していないブラウザ用*/\r
+    /*IE11ã\82\84Edgeã\81ªã\81©SMILã\82¢ã\83\8bã\83¡ã\83¼ã\82·ã\83§ã\83³ã\81«å¯¾å¿\9cã\81\97ã\81¦ã\81\84ã\81ªã\81\84ã\83\96ã\83©ã\82¦ã\82¶ç\94¨*/\r
     /*cancelはアニメーションの中止ハンドル*/\r
     var cancel = {\r
        handle: null\r
index 9d11f73..17c2a3b 100644 (file)
@@ -2423,9 +2423,7 @@ describe("SMIL Animation Spec", function() {
           f(25, "M20.0 24.1 L20.0 30.0");\r
           f(47, "M20.0 26.3 L20.0 30.0");\r
           f(48, "M20.0 26.4 L20.0 30.0");\r
-          console.log($animate.timeline.$list);\r
           f(49, "M20.0 26.4 L20.0 30.0");\r
-          console.log($animate.timeline.$list);\r
           f(50, "M20.0 26.4 L20.0 30.0");\r
           \r
           frame.timelines.length = 0;\r