1 <svg xmlns='http://www.w3.org/
2000/svg' xmlns:
xlink=
"http://www.w3.org/1999/xlink" onload=
"runRepaintAndPixelTest()">>
2 <script xlink:
href=
"../../fast/repaint/resources/text-based-repaint.js"/>
4 function clickHandler(evt) {
5 evt.target.style.fill =
"green";
7 testRunner.notifyDone();
10 function repaintTest() {
11 if (window.eventSender) {
12 testRunner.waitUntilDone();
13 eventSender.mouseMoveTo(
50,
50);
14 eventSender.mouseDown();
15 eventSender.mouseUp();
19 <path onclick=
"clickHandler(evt)" fill=
"red" stroke=
"black" stroke-width=
"3" d=
"M 10 10 l 0 100 l 100 0 l 0 -100 M 120 10 l 0 100 l 100 0 l 0 -100"/>
21 <text x=
"10" y=
"150">There should be
2 green squares above this (when run under DumpRenderTree)
</text>