Bug 931013 - Try to fix intermittent failure of smil/crashtests/690994-1.svg. r=birtles

This commit is contained in:
Robert Longson 2014-01-20 10:51:06 +00:00
parent d281c50bd5
commit f9e87e17f9

View File

@ -1,7 +1,10 @@
<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" class="reftest-wait">
<svg xmlns="http://www.w3.org/2000/svg" class="reftest-wait" onload="go()">
<script>
<![CDATA[
function go() {
document.documentElement.setCurrentTime(100);
}
function boom()
{
document.documentElement.removeChild(document.getElementById("a"));
@ -9,6 +12,6 @@ function boom()
}
]]>
</script>
<animate id="a" begin="a.end; -0.1s" end="a.begin+0.2s" onend="boom()"/>
<animate id="a" begin="a.end; -0.1s" end="a.begin+0.2s"/>
<animate id="a" begin="a.end; 99.9s" end="a.begin+0.2s" onend="boom()"/>
<animate id="a" begin="a.end; 99.9s" end="a.begin+0.2s"/>
</svg>

Before

Width:  |  Height:  |  Size: 398 B

After

Width:  |  Height:  |  Size: 478 B