summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/smil/seek/anim-x-seek-1e.svg
blob: b8175fb4cd1300530bb7e7464ab6f64e1c1ed21b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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>