summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/smil/seek/anim-x-seek-1e.svg
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/svg/smil/seek/anim-x-seek-1e.svg')
-rw-r--r--layout/reftests/svg/smil/seek/anim-x-seek-1e.svg17
1 files changed, 17 insertions, 0 deletions
diff --git a/layout/reftests/svg/smil/seek/anim-x-seek-1e.svg b/layout/reftests/svg/smil/seek/anim-x-seek-1e.svg
new file mode 100644
index 000000000..b8175fb4c
--- /dev/null
+++ b/layout/reftests/svg/smil/seek/anim-x-seek-1e.svg
@@ -0,0 +1,17 @@
+<svg xmlns="http://www.w3.org/2000/svg"
+ class="reftest-wait"
+ onload="go()">
+ <script type="text/javascript">
+ function go() {
+ // Test a backwards seek covering many intervals
+ var svg = document.documentElement;
+ svg.pauseAnimations();
+ svg.setCurrentTime(15);
+ svg.setCurrentTime(3.5);
+ svg.removeAttribute("class");
+ }
+ </script>
+ <rect x="100" y="15" width="200" height="200" fill="blue">
+ <set attributeName="x" to="15" begin="1s; 3s; 5s; 7s; 9s; 11s" dur="1s"/>
+ </rect>
+</svg>