From: dhrname Date: Thu, 22 Jan 2015 13:46:32 +0000 (+0900) Subject: Modify an addLine method X-Git-Tag: version22~359 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=661582a7ca277e13596dfcc99bc14de44262eb8e;p=sie%2Fsie.git Modify an addLine method --- diff --git a/org/w3c/dom/smil.js b/org/w3c/dom/smil.js index 1cd9b12..22d5386 100644 --- a/org/w3c/dom/smil.js +++ b/org/w3c/dom/smil.js @@ -157,7 +157,9 @@ if(window.requestAnimationFrame && requestAnimationFrame } this.timelines.push( this.up("$line").mix( { begin: begin, - activetime: activateDuration + activeTime: activateDuration, + /*リストが追加された時間 ( = 解決済み時間)*/ + resolved: Date.now() } ) ); return true; diff --git a/tool/Spec/spec/SvgDomSpec.js b/tool/Spec/spec/SvgDomSpec.js index 78e3665..3e4e7be 100644 --- a/tool/Spec/spec/SvgDomSpec.js +++ b/tool/Spec/spec/SvgDomSpec.js @@ -2068,7 +2068,8 @@ describe("SMIL Animation Spec", function() { var timeline = frame.timelines[0]; expect(timeline.begin).toBe(0); - expect(timeline.activetime).toBe(0); + expect(timeline.activeTime).toBe(0); + expect(typeof timeline.resolved).toBe("number") }); /*無効同値クラスを調べておく (Equivalence partitioning, the following is the invalid partion)*/ it("should be this for the value (the invalid partion)", function() {