2010-01-12 12:00:49 -08:00
|
|
|
<svg xmlns="http://www.w3.org/2000/svg"
|
|
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
|
|
class="reftest-wait"
|
|
|
|
onload="setTimeAndSnapshot(2, true)">
|
|
|
|
<script xlink:href="../smil-util.js" type="text/javascript"/>
|
|
|
|
<!--
|
|
|
|
From SVG 1.2 Tiny Test Suite, animate-elem-221-t.svg
|
|
|
|
|
|
|
|
This test case is interesting because begin is not set on the first
|
|
|
|
animation. If we incorrectly detect this as a deleted begin time and thus
|
|
|
|
a deleted interval we get stuck in a loop marking the interval as deleted
|
|
|
|
and the new.
|
|
|
|
-->
|
|
|
|
<rect y="100" width="100" height="100" fill="red">
|
|
|
|
<animate id="a1" attributeName="y" attributeType="XML"
|
|
|
|
from="-20" to="80" dur="10s"
|
2010-01-12 12:00:49 -08:00
|
|
|
end="a1.begin+6s" max="2.5s" />
|
2010-01-12 12:00:49 -08:00
|
|
|
<animate attributeName="fill" attributeType="CSS"
|
2010-01-12 12:00:50 -08:00
|
|
|
values="orange; green; purple" keyTimes="0; 0.1; 1" dur="10s"
|
2010-01-12 12:00:49 -08:00
|
|
|
begin="1s" end="a1.end+6s"
|
|
|
|
max="7.5s" fill="freeze"/>
|
|
|
|
</rect>
|
|
|
|
</svg>
|