Bug 683040 followup: Extra reftests for animateMotion & indefinite to-animation. r=birtles
authorDaniel Holbert <dholbert@cs.stanford.edu>
Tue, 06 Sep 2011 16:50:57 -0700
changeset 77936 3ae9b2a742df99f77c0f978eeb35f308088bcceb
parent 77935 12507ee12f19167560ed7ea655fe3cea47e4aee4
child 77937 bc6b53c4e9312eb9c6ebe2e7582e8e99d5871124
push id78
push userclegnitto@mozilla.com
push dateFri, 16 Dec 2011 17:32:24 +0000
treeherdermozilla-release@79d24e644fdd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbirtles
bugs683040
milestone9.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 683040 followup: Extra reftests for animateMotion & indefinite to-animation. r=birtles
layout/reftests/svg/smil/motion/animateMotion-indefinite-to-1.svg
layout/reftests/svg/smil/motion/animateMotion-indefinite-to-2.svg
layout/reftests/svg/smil/motion/reftest.list
copy from layout/reftests/svg/smil/anim-indefinite-to-1.svg
copy to layout/reftests/svg/smil/motion/animateMotion-indefinite-to-1.svg
--- a/layout/reftests/svg/smil/anim-indefinite-to-1.svg
+++ b/layout/reftests/svg/smil/motion/animateMotion-indefinite-to-1.svg
@@ -1,7 +1,10 @@
 <svg xmlns="http://www.w3.org/2000/svg">
   <!-- Test that an indefinite to-animation just sticks to the base value for
-       interpolatable attributes. -->
-  <rect x="15" y="15" width="200" height="200" fill="blue">
-    <animate attributeName="height" to="100" dur="indefinite"/>
+       animateMotion. -->
+  <rect width="100%" height="100%" fill="lime"/>
+
+  <rect x="15" y="15" width="100" height="100" fill="red"/>
+  <rect x="15" y="15" width="100" height="100" fill="lime">
+    <animateMotion to="500,500" dur="indefinite"/>
   </rect>
 </svg>
copy from layout/reftests/svg/smil/anim-indefinite-to-2.svg
copy to layout/reftests/svg/smil/motion/animateMotion-indefinite-to-2.svg
--- a/layout/reftests/svg/smil/anim-indefinite-to-2.svg
+++ b/layout/reftests/svg/smil/motion/animateMotion-indefinite-to-2.svg
@@ -1,8 +1,11 @@
 <svg xmlns="http://www.w3.org/2000/svg">
   <!-- Test that an indefinite to-animation with discrete calcMode applies
        the underlying value for the whole time. -->
-  <rect x="15" y="15" width="200" height="200" fill="blue">
-    <animate attributeName="height" to="100" dur="indefinite"
-      calcMode="discrete"/>
+  <rect width="100%" height="100%" fill="lime"/>
+
+  <rect x="15" y="15" width="100" height="100" fill="red"/>
+  <rect x="15" y="15" width="100" height="100" fill="lime">
+    <animateMotion to="500,500" dur="indefinite"
+                   calcMode="discrete"/>
   </rect>
 </svg>
--- a/layout/reftests/svg/smil/motion/reftest.list
+++ b/layout/reftests/svg/smil/motion/reftest.list
@@ -1,13 +1,15 @@
 # Tests related to SVG Animation (using SMIL), focusing on the animateMotion
 # element.
 
 == animateMotion-by-1.svg      lime.svg
 == animateMotion-from-to-1.svg lime.svg
+== animateMotion-indefinite-to-1.svg lime.svg
+== animateMotion-indefinite-to-2.svg lime.svg
 == animateMotion-rotate-1a.svg lime.svg
 == animateMotion-rotate-1b.svg lime.svg
 == animateMotion-rotate-2.svg  lime.svg
 == animateMotion-to-overridden-1.svg lime.svg
 == animateMotion-values-linear-1.svg animateMotion-values-linear-1-ref.svg
 == animateMotion-values-paced-1a.svg animateMotion-values-paced-1-ref.svg
 == animateMotion-values-paced-1b.svg animateMotion-values-paced-1-ref.svg