2011-01-23 20:08:17 +03:00
|
|
|
<!--
|
|
|
|
Any copyright is dedicated to the Public Domain.
|
2011-06-21 16:19:35 +04:00
|
|
|
http://creativecommons.org/publicdomain/zero/1.0/
|
2011-01-23 20:08:17 +03:00
|
|
|
-->
|
|
|
|
<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>
|