blob: 67b2b3f4d99bd48b6ceefe034294b266a34e72bb (
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">
* {fill: lime;}
.start {visibility: visible; fill: red; }
</style>
<rect width="100%" height="100%" fill="red"/>
<rect width="100%" height="100%" class="start">
<set attributeName="class" attributeType="XML"
to="" begin="0.5s" dur="1s" fill="freeze"/>
</rect>
</svg>
|