blob: f6597a0cc3ef3d047b2084f64c6d47999d479d5e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<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"
end="a1.begin+6s" max="2.5s" />
<animate attributeName="fill" attributeType="CSS"
values="orange; green; purple" keyTimes="0; 0.1; 1" dur="10s"
begin="1s" end="a1.end+6s"
max="7.5s" fill="freeze"/>
</rect>
</svg>
|