summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/smil/transform/set-transform-1.svg
blob: f698cbaa829cafe0b829ff7f36459d9028737402 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!--
     Any copyright is dedicated to the Public Domain.
     http://creativecommons.org/publicdomain/zero/1.0/
-->
<svg xmlns="http://www.w3.org/2000/svg"
     xmlns:xlink="http://www.w3.org/1999/xlink"
     class="reftest-wait">

  <script xlink:href="../smil-util.js" type="text/javascript"/>
  <script>
    function doTest() {
      setTimeAndSnapshot(101, false);
    }
    window.addEventListener("MozReftestInvalidate", doTest, false);
  </script>

  <rect width="100%" height="100%" fill="lime" />

  <!-- Test 1: We shouldn't animate a transform attribute with set -->

  <rect x="50" y="50" width="100" height="100" fill="red">
    <set attributeName="transform" to="75,75" begin="100s"/>
  </rect>

  <rect x="50" y="50" width="100" height="100" fill="lime"/>

</svg>