summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/smil/motion/animateMotion-by-2.svg
blob: 9502828c3581972d80435b3fbd6afbbe15ca7e56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<svg xmlns="http://www.w3.org/2000/svg"
     xmlns:xlink="http://www.w3.org/1999/xlink"
     class="reftest-wait" transform="translate(100,0)">
  <script xlink:href="../smil-util.js" type="text/javascript"/>
  <script type="text/javascript">
    function doTest() {
      setTimeAndSnapshot(101, true);
    }
    window.addEventListener("MozReftestInvalidate", doTest, false);
  </script>

  <animateMotion by="-100, 0" begin="100" dur="1" fill="freeze"/>

  <!-- Big green background to match lime.svg -->
  <rect width="100%" height="100%" fill="lime"/>
</svg>