OLD | NEW |
---|---|
(Empty) | |
1 <!doctype html> | |
2 <style> | |
3 div { | |
4 width: 100px; | |
5 height: 100px; | |
6 border: 10px solid; | |
7 } | |
8 | |
9 div:hover { | |
10 color: green; | |
11 } | |
12 </style> | |
13 <script src="resources/repaint.js"></script> | |
rune
2014/01/29 19:55:49
Could you perhaps use text-based-repaint.js instea
| |
14 <script> | |
15 function repaintTest() { | |
16 if (!window.testRunner) | |
17 return; | |
18 eventSender.mouseMoveTo(50, 50); | |
19 eventSender.mouseDown(); | |
20 eventSender.mouseUp(); | |
rune
2014/01/29 19:55:49
There's something funny with the indentation here.
| |
21 } | |
22 window.addEventListener("load", runRepaintTest); | |
23 </script> | |
24 <div></div> | |
OLD | NEW |