Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / use-invalidate-click-crash.xhtml
blob2fd4b14ca33f2165ffc6391d3b8e0cc0057375a7
1 <html>
2 <body id="body">
3 <svg xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg">
5 <symbol id="target">
6 <text font-size="172cm">YYYYYYYYY</text>
7 </symbol>
8 <use xlink:href="#target"></use>
10 <script><![CDATA[
11 function keyDownMouseClick(x1, y1, x2, y2)
13 if (!window.eventSender)
14 return;
15 eventSender.mouseDown();
16 eventSender.mouseMoveTo(x2, y2);
17 eventSender.mouseUp();
20 if (window.testRunner)
21 testRunner.dumpAsText();
23 var target = document.getElementById("target");
24 keyDownMouseClick(333, 357, 155, 174);
25 target.textContent = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
26 keyDownMouseClick(115, 317, -16, -2);
28 document.getElementById("body").textContent = "PASS"
29 ]]></script>
30 </svg>
31 </body>
32 </html>