mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
26 lines
1.1 KiB
XML
26 lines
1.1 KiB
XML
|
<svg xmlns="http://www.w3.org/2000/svg"
|
||
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||
|
class="reftest-wait"
|
||
|
onload="
|
||
|
document.documentElement.setCurrentTime(0);
|
||
|
document.getElementById('a').beginElementAt(0.5);
|
||
|
setTimeAndSnapshot(2, true)">
|
||
|
<script xlink:href="../smil-util.js" type="text/javascript"/>
|
||
|
<!--
|
||
|
A simple case of a deleting interval.
|
||
|
Originally the interval is from 1s->3s, but then by script we another begin
|
||
|
time to 'a' at 0.5 and since 'a' can't restart this is the only begin time
|
||
|
it will ever generate. Therefore all the ends are before the begin and
|
||
|
there's no valid interval.
|
||
|
-->
|
||
|
<rect width="100" height="100" fill="green">
|
||
|
<animate attributeName="y" attributeType="XML" from="0" to="0" id="a"
|
||
|
begin="3s" dur="10s" restart="never"/>
|
||
|
<animate attributeName="y" attributeType="XML" from="0" to="0" id="b"
|
||
|
begin="1s" end="a.begin" dur="3s"/>
|
||
|
<animate attributeName="fill" attributeType="CSS"
|
||
|
values="red; red" fill="remove"
|
||
|
begin="b.begin" dur="2s"/>
|
||
|
</rect>
|
||
|
</svg>
|