| OLD | NEW |
| (Empty) |
| 1 <html> | |
| 2 <head> | |
| 3 <script> | |
| 4 if (window.testRunner) | |
| 5 testRunner.dumpEditingCallbacks(); | |
| 6 </script> | |
| 7 | |
| 8 <style> | |
| 9 body { margin: 0; padding: 0 } | |
| 10 </style> | |
| 11 <script type="text/javascript"> | |
| 12 function step4() | |
| 13 { | |
| 14 eventSender.mouseUp(); | |
| 15 testRunner.notifyDone(); | |
| 16 } | |
| 17 | |
| 18 function step3() | |
| 19 { | |
| 20 eventSender.mouseDown(); | |
| 21 window.setTimeout(step4, 1); | |
| 22 } | |
| 23 | |
| 24 function step2() | |
| 25 { | |
| 26 eventSender.mouseUp(); | |
| 27 window.setTimeout(step3, 100); | |
| 28 } | |
| 29 | |
| 30 function step1() | |
| 31 { | |
| 32 eventSender.mouseDown(); | |
| 33 window.setTimeout(step2, 1); | |
| 34 } | |
| 35 | |
| 36 function step0() | |
| 37 { | |
| 38 eventSender.mouseMoveTo(10, 10); | |
| 39 window.setTimeout(step1, 1); | |
| 40 } | |
| 41 | |
| 42 step0(); | |
| 43 testRunner.waitUntilDone(); | |
| 44 </script> | |
| 45 </head> | |
| 46 <body> | |
| 47 <div contenteditable>Select me, select me, select me</div> | |
| 48 </body> | |
| 49 </html> | |
| OLD | NEW |