OSDN Git Service

Modify an addLine method
authordhrname <dhrname@users.sourceforge.jp>
Thu, 22 Jan 2015 13:46:32 +0000 (22:46 +0900)
committerdhrname <dhrname@users.sourceforge.jp>
Thu, 22 Jan 2015 13:46:32 +0000 (22:46 +0900)
org/w3c/dom/smil.js
tool/Spec/spec/SvgDomSpec.js

index 1cd9b12..22d5386 100644 (file)
@@ -157,7 +157,9 @@ if(window.requestAnimationFrame && requestAnimationFrame
       }\r
       this.timelines.push( this.up("$line").mix( {\r
           begin:      begin,\r
-          activetime: activateDuration\r
+          activeTime: activateDuration,\r
+          /*リストが追加された時間 ( = 解決済み時間)*/\r
+          resolved: Date.now()\r
         } )\r
       );\r
       return true;\r
index 78e3665..3e4e7be 100644 (file)
@@ -2068,7 +2068,8 @@ describe("SMIL Animation Spec", function() {
       \r
       var timeline = frame.timelines[0];\r
       expect(timeline.begin).toBe(0);\r
-      expect(timeline.activetime).toBe(0);\r
+      expect(timeline.activeTime).toBe(0);\r
+      expect(typeof timeline.resolved).toBe("number")\r
     });\r
     /*無効同値クラスを調べておく (Equivalence partitioning, the following is the invalid partion)*/\r
     it("should be this for the value (the invalid partion)", function() {\r