OSDN Git Service

Support an end property of object
authordhrname <dhrname@users.sourceforge.jp>
Fri, 6 Feb 2015 14:14:07 +0000 (23:14 +0900)
committerdhrname <dhrname@users.sourceforge.jp>
Fri, 6 Feb 2015 14:14:07 +0000 (23:14 +0900)
org/w3c/dom/smil.js
tool/Spec/spec/SvgDomSpec.js

index 7c584db..7b7e200 100644 (file)
@@ -302,8 +302,11 @@ base("$frame").mix ( {
     /*イベント発生時の時間*/\r
     timeStamp: 0,\r
     \r
-    /*単純持続時間の計算実体*/\r
+    /*単純持続時間のパース去れる前の文字列*/\r
     dur: "indefinite",\r
+    \r
+    /*活動をストップさせるための文字列*/\r
+    end: "",\r
      \r
     /*解決した(計算する)ときの時間*/\r
     resolvedTime: function() {\r
index f417038..7b765dd 100644 (file)
@@ -2417,6 +2417,7 @@ describe("SMIL Animation Spec", function() {
       expect(act.timeStamp).toEqual(0);\r
       expect(act.dur).toBe("indefinite");\r
       expect(typeof act.resolvedTime).toBe("function");\r
+      expect(act.end).toBe("");\r
     } );\r
     /*同値分割をして、有効同値クラスを調べておく (Equivalence partitioning, the following is the valid partion)*/\r
     it("should be this for the value (the valid partion)", function() {\r