summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/smil/anim-class-03.svg
blob: 297569edfd23b89fdb1e269ba746dedf6f151480 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!--
     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" onload="setTimeAndSnapshot(1, true)">
  <title>Test animation of the class attribute on "rect" elements</title>
  <script xlink:href="smil-util.js" type="text/javascript"/>
  <style type="text/css">

    .start {fill: red; }
    .finish {fill: lime;}

  </style>

  <rect width="100%" height="100%" fill="red"/>
  <rect width="100%" height="100%" class="start">
    <set attributeName="class" attributeType="XML"
         to="finish" begin="0.5s" dur="1s" fill="freeze"/>
  </rect>
</svg>