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">
9 <circle id="circle" cx="100" cy="75" r="40" fill="#feae00" stroke="#f31900" stroke-width="15" pointer-events="all"/>
11 <use xlink:href="#circle" x="0" y="0"></use>
14 if (window.testRunner)
15 testRunner.dumpAsText();
17 document.elementFromPoint(100, 100);
18 document.getElementById('console').innerHTML = "PASS";