OSDN Git Service

Support the object
authordhrname <dhrname@users.sourceforge.jp>
Mon, 12 Oct 2015 08:58:58 +0000 (17:58 +0900)
committerdhrname <dhrname@users.sourceforge.jp>
Mon, 12 Oct 2015 08:58:58 +0000 (17:58 +0900)
org/w3c/dom/smil.js
tool/Spec/spec/SvgDomSpec.js

index 83b73fa..95f466f 100644 (file)
@@ -1297,7 +1297,7 @@ if (!document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Anim
   if (window.requestAnimationFrame && requestAnimationFrame) {\r
     /*IE11などSMILアニメーションに対応していないブラウザ用*/\r
     (function(frame) {\r
-      var $f = base("$frame");\r
+      var $f = base("$frame").$svgEvent;\r
       $f.startTime = Date.now();\r
       requestAnimationFrame(step);\r
       function step() {\r
@@ -1308,7 +1308,7 @@ if (!document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Anim
     })(-1)\r
   } else {\r
     setInterval( (function(frame) {\r
-      var $f = base("$frame");\r
+      var $f = base("$frame").$svgEvent;\r
       $f.startTime = Date.now();\r
       return function () {\r
         frame++;\r
index 971595b..98b64af 100644 (file)
@@ -4294,7 +4294,6 @@ describe("SMIL Animation Spec", function() {
         ele.addEventListener("endEvent", function(evt) {\r
           expect(evt.target).toBe(ele);\r
           expect(isFiredBeginEvent).toBeTruthy();\r
-          done();\r
         } );\r
         frame.setFrame(0);\r
         expect(frame.first).toBeNull();\r