1 <?xml version=
"1.0" encoding=
"ISO-8859-1" standalone=
"no"?>
2 <!DOCTYPE svg PUBLIC
"-//W3C//DTD SVG 20010904//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
3 <svg width=
"450" height=
"450" xmlns=
"http://www.w3.org/2000/svg">
6 if (window.layoutTestController)
7 layoutTestController.waitUntilDone();
9 window.setTimeout(
"clickNow()",
0);
12 if (window.eventSender) {
13 eventSender.mouseMoveTo(
190,
45);
14 eventSender.mouseDown();
15 eventSender.mouseUp();
16 eventSender.mouseDown();
17 eventSender.mouseUp();
20 if (window.layoutTestController) {
21 layoutTestController.notifyDone();
25 function mouseHandler(evt)
27 var path = document.getElementById(
"path");
28 path.pathSegList.removeItem(path.pathSegList.numberOfItems -
1);
32 <path id=
"path" onclick=
"mouseHandler(evt)" fill=
"#FF0000" stroke=
"#00C000" d=
"M 250 130 C 185 130 150 80 150 80 S 115 25 50 25 m 0 105 c 65 0 100 -50 100 -50 s 35 -55 100 -55"/>