summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/smil/smil-transitions-interaction-3b.svg
blob: 331fc6f407138ccc2816575ddec9860f216cae49 (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="transition: 200s fill">
    <set attributeName="fill" attributeType="XML"
         to="red" begin="1s" dur="1s"/>
  </rect>
</svg>