4 <script type=
"text/javascript">
6 testRunner
.waitUntilDone();
9 // Do test _after_ onload to make sure that the time container
11 window
.setTimeout(function() {
12 document
.querySelector('svg').setCurrentTime(0.5);
13 document
.body
.innerHTML
= 'PASS: Test did not hang.';
14 if (window
.testRunner
) {
15 testRunner
.dumpAsText();
16 testRunner
.notifyDone();
23 <p>This test passes if it does not hang...
</p>
24 <svg xmlns=
"http://www.w3.org/2000/svg">
25 <circle r=
"10" cx=
"50" cy=
"50" fill=
"none">
26 <animate id=
"anim1" attributeName=
"opacity" from=
"0" to=
"1" begin=
"0.1s; anim3.end" dur=
"0.01s"/>
27 <animate id=
"anim2" attributeName=
"opacity" from=
"1" to=
"1" begin=
"anim1.end" dur=
"0.05s" fill=
"freeze"/>
28 <animate id=
"anim3" attributeName=
"opacity" from=
"1" to=
"0" begin=
"anim2.end" dur=
"0.01s" fill=
"freeze"/>