1 <p>This test verifies that SVG animation targets can change during the animation.
</p>
4 <text id=
"text"></text>
5 <animate xlink:
href=
"#text" id=
"a" attributeName=
"y" begin=
"0.0" from=
"0" to=
"1" dur=
"1s" repeatCount=
"indefinite">
8 if (window
.testRunner
) {
9 testRunner
.dumpAsText()
10 testRunner
.waitUntilDone()
13 setTimeout(function() {
14 text
= document
.getElementById('text')
16 svg
= document
.getElementById('svg')
18 svg
.appendChild(document
.getElementById('a').cloneNode())
19 setTimeout(function() {
20 document
.getElementById("result").innerText
= "TEST PASSED"
21 if (window
.testRunner
)
22 testRunner
.notifyDone()