mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
17 lines
478 B
XML
17 lines
478 B
XML
|
<svg xmlns="http://www.w3.org/2000/svg"
|
||
|
class="reftest-wait"
|
||
|
onload="go()">
|
||
|
<script type="text/javascript">
|
||
|
function go() {
|
||
|
// A negative seek should be clamped to 0
|
||
|
var svg = document.documentElement;
|
||
|
svg.pauseAnimations();
|
||
|
svg.setCurrentTime(-1);
|
||
|
svg.removeAttribute("class");
|
||
|
}
|
||
|
</script>
|
||
|
<rect x="100" y="15" width="200" height="200" fill="blue">
|
||
|
<animate attributeName="x" from="0" to="30" begin="-1s" dur="2s"/>
|
||
|
</rect>
|
||
|
</svg>
|