[WK2] selection does not disappear after coping the text
[framework/web/webkit-efl.git] / LayoutTests / svg / animations / svglength-animation-retarget-crash.html
1 <p>This test verifies that SVG animation targets can change during the animation.</p>\r
2 <p id="result"></p>\r
3 <svg id="svg">\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
6 </svg>\r
7 <script>\r
8 if (window.layoutTestController) {\r
9     layoutTestController.dumpAsText()\r
10     layoutTestController.waitUntilDone()\r
11 }\r
12 \r
13 setTimeout(function() {\r
14     text = document.getElementById('text')\r
15     text.id = 'not_text'\r
16     svg = document.getElementById('svg')\r
17     svg.id = 'text'\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
23     }, 0)\r
24 }, 0)\r
25 </script>\r