OSDN Git Service

Add the Spec for the object
authordhrname <dhrname@users.sourceforge.jp>
Tue, 2 Feb 2016 14:10:43 +0000 (23:10 +0900)
committerdhrname <dhrname@users.sourceforge.jp>
Tue, 2 Feb 2016 14:10:43 +0000 (23:10 +0900)
org/w3c/dom/smil.js
tool/Spec/spec/SvgDomSpec.js

index 6cadee0..48ffde1 100644 (file)
@@ -1392,7 +1392,8 @@ base("$calcMode").up("$attribute").mix( {
     }\r
   }\r
   keywords = toRGB = isColor = void 0;\r
-});\r
+})\r
+ .up("$animateTransformElement");\r
 \r
 /*$svgEventオブジェクトは、SVGEvent発火を監視するためのオブジェクト*/\r
 base("$frame").up("$svgEvent").mix( {\r
index a8b14a3..ccd4594 100644 (file)
@@ -2520,6 +2520,25 @@ describe("SMIL Animation Spec", function() {
         base("$frame").startAnimation();\r
       } );\r
     } );\r
+    describe("A $animateTransformElemenet object", function() {\r
+      describe("An init method", function() {\r
+        var $animate, ele, frame;\r
+        beforeEach( function() {\r
+          $animate = base("$calcMode").$attribute.$setElement.$animateElement.$animateTransformElement.up();\r
+          var p = document.createElementNS("http://www.w3.org/2000/svg", "g");\r
+          ele = document.createElementNS("http://www.w3.org/2000/svg", "animate");\r
+          p.appendChild(ele);\r
+          frame = base("$frame");\r
+          frame.timelines.length = 0;\r
+          frame.startTime = Date.now();\r
+          frame.setFrame(0);\r
+        } );\r
+        /*境界条件を調べておく (limit value analysis)*/\r
+        it("should be this for the value  (limit value analysis)", function() {\r
+          $animate.init();\r
+        } );\r
+      } );\r
+    } );\r
     describe("Event", function() {\r
       var $animate, ele, frame, p;\r
       beforeEach( function() {\r