Do not access any object in the destructor and only delete animators in the destructor.
[framework/web/webkit-efl.git] / LayoutTests / svg / hittest / svg-use-element-from-point.html
1 <!DOCTYPE html>
2 <html>
3 <body>
4     <p>elementFromPoint should not enter infinite loop.</p>
5     <pre id='console'></pre>
6     <div id="status"></div>
7     <svg id="svg" width="600" height="400" xmlns="http://www.w3.org/2000/svg" version="1.0">
8         <defs>
9             <circle id="circle" cx="100" cy="75" r="40" fill="#feae00" stroke="#f31900" stroke-width="15" pointer-events="all"/>
10         </defs>
11         <use xlink:href="#circle" x="0" y="0"></use>
12     </svg>
13     <script>
14         if (window.testRunner)
15             testRunner.dumpAsText();
16
17         document.elementFromPoint(100, 100);
18         document.getElementById('console').innerHTML = "PASS";
19     </script>
20   </body>
21 </html>