3 <!-- animate element is destructed before rect elements -->
4 <animate xlink:
href=
"#rect" attributeName=
"x" attributeType=
"XML" begin=
"0s" dur=
"10s" fill=
"freeze" from=
"0" to=
"100" />
6 <rect id=
"rect" x=
"10" y=
"10" width=
"10" height=
"10" fill=
"red"></rect>
8 <use xlink:
href=
"#usetarget"></use>
10 <p>Test passes if unloading this document does not fail ASSERTs on debug builds.
</p>
12 // This test doesn't use js-test.js to avoid unexpected DOM references.
13 if (window
.testRunner
)
14 testRunner
.dumpAsText();