1 <html xmlns=
"http://www.w3.org/1999/xhtml">
3 <title>Bug
22660</title>
6 if (window.layoutTestController)
7 layoutTestController.waitUntilDone();
8 window.setTimeout(
"clickNow()",
0);
11 if (window.eventSender) {
12 eventSender.mouseMoveTo(
300,
300);
13 eventSender.mouseDown();
14 eventSender.mouseUp();
17 function moveTo(cx, cy) {
18 var circle = document.getElementById('c1');
19 circle.setAttribute('cx', cx);
20 circle.setAttribute('cy', cy);
21 if (window.layoutTestController) {
22 layoutTestController.notifyDone();
25 document.onmousedown = function(e) {
26 moveTo(e.clientX, e.clientY);
30 <body onload=
"runTest()">
31 <svg xmlns=
"http://www.w3.org/2000/svg" version=
"1.1" viewBox=
"0 0 400 400" style=
"width:300px; height:300px; border: 1px solid black;">
32 <circle id=
"c1" cx=
"100" cy=
"100" r=
"50" style=
"fill:red" />
37 The circle should not be (partially or fully)visible at the original position after moving it.