OSDN Git Service

Change a comment on the object
authordhrname <dhrname@users.sourceforge.jp>
Sun, 26 Apr 2015 10:39:29 +0000 (19:39 +0900)
committerdhrname <dhrname@users.sourceforge.jp>
Sun, 26 Apr 2015 10:39:29 +0000 (19:39 +0900)
org/w3c/dom/smil.js
tool/Spec/spec/SvgDomSpec.js

index 36fba1a..2ed2cd4 100644 (file)
@@ -667,7 +667,7 @@ Math.qubicnewton = function(a0, a1, a2, a3, b) {
       fb = eps = void 0;\r
       return b;\r
     } else {\r
-      /*分母は与えられた三次方程式を微分したもの*/\r
+      /*以下は収束の漸化式。分母は与えられた三次方程式を微分したもの*/\r
       b =  b - fb / (3* a0 *b*b + 2 * a1 *b + a2);\r
       fb = a0 *b*b*b + a1 *b*b + a2*b + a3;\r
     }\r
index 611c274..944b41c 100644 (file)
@@ -3491,6 +3491,10 @@ describe("SMIL Animation Spec", function() {
         setv = attr.setValues(["1", "1", "1", "1", "1", "15.1"])[4].call();\r
         expect(setv(0.5)).toBe("8.05");\r
         expect(setv(1)).toBe("15.10");\r
+        \r
+        attr.keyTime = 0.1;\r
+        expect(setv(0.5)).toBe("80.50");\r
+        expect(setv(1)).toBe("151.00");\r
       } );\r
       /*無効同値クラスを調べておく (Equivalence partitioning, the following is the invalid partion)*/\r
       it("should be this for the value (the invalid partion on a spline mode )", function() {\r