1 <html xmlns=
"http://www.w3.org/1999/xhtml">
3 <script src=
"../../fast/repaint/resources/text-based-repaint.js"></script>
5 <body style=
"margin: 0" onload=
"runRepaintAndPixelTest()">
6 <div id=
"div" style=
"width:100px; height:100px; overflow:hidden">
7 <svg id=
"svg" width=
"200px" height=
"200px" xmlns=
"http://www.w3.org/2000/svg">
8 <rect fill=
"orange" width=
"100px" height=
"100px" />
9 <rect id=
"rect" onclick=
"clicked()" fill=
"green" y=
"100px" x=
"100px" width=
"100px" height=
"100px" />
15 document
.getElementById("rect").style
.fill
= "green";
16 if (window
.testRunner
)
17 testRunner
.notifyDone();
20 function repaintTest() {
21 var div
= document
.getElementById("div");
24 if (window
.eventSender
) {
25 testRunner
.waitUntilDone();
26 eventSender
.mouseMoveTo(50, 50);
27 eventSender
.mouseDown();
28 eventSender
.mouseUp();