summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/smil/smil-transitions-interaction-3b.svg
blob: 8bc634f53d17f016098b51f139c7ce71640251d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<svg xmlns="http://www.w3.org/2000/svg"
     xmlns:xlink="http://www.w3.org/1999/xlink"
     class="reftest-wait"
     onload="document.documentElement.pauseAnimations();
             document.documentElement.setCurrentTime(1.0);
             setTimeAndSnapshot(2.0, false)">
  <!-- This test checks that we don't trigger a CSS transition when
       SMIL animation effects are removed. -->
  <script xlink:href="smil-util.js" type="text/javascript"/>
  <rect width="100%" height="100%" fill="lime"
        style="-moz-transition: 200s fill">
    <set attributeName="fill" attributeType="XML"
         to="red" begin="1s" dur="1s"/>
  </rect>
</svg>