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