gecko/layout/reftests/svg/smil/syncbase/cycle-ok-5.svg

24 lines
927 B
XML
Raw Normal View History

<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>