4 <title>Click on overflowing svg element
</title>
5 <script type=
"text/javascript" charset=
"utf-8">
7 testRunner.dumpAsText();
11 var target = document.getElementById(
"target");
12 var rect = target.getBoundingClientRect();
14 if (window.eventSender) {
15 eventSender.mouseMoveTo(rect.left +
10, rect.top +
10);
16 eventSender.mouseDown();
17 eventSender.mouseUp();
21 window.addEventListener('load', sendClick, false);
24 rect:hover { fill: blue; }
28 <svg width=
"100" height='
100'
overflow=
"visible">
29 <rect id=
"target" x=
"100" width=
"100" height=
"100" onclick=
"document.querySelector('p').textContent='PASS';"/>