3 <body onload=
"startTest()">
4 <svg width=
"400" height=
"400" xmlns=
"http://www.w3.org/2000/svg"
5 xmlns:
xlink=
"http://www.w3.org/1999/xlink">
6 <svg id=
"inner" width=
"300" height=
"300">
7 <rect id=
"rect" width=
"100" height=
"100" fill=
"green">
8 <animate attributeName=
"x" from=
"0" to=
"300" begin=
"0s" dur=
"10s"/>
9 <discard xlink:
href=
"#inner" begin=
"0s"/>
14 function startTest() {
15 if (window
.testRunner
)
16 testRunner
.waitUntilDone();
17 setTimeout(function() {
18 document
.write('PASS: Test did not crash.');
19 if (window
.testRunner
) {
20 testRunner
.dumpAsText();
21 testRunner
.notifyDone();