OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../../fast/js/resources/js-test-pre.js"></script> |
5 <script src="resources/util.js"></script> | 5 <script src="resources/util.js"></script> |
6 </head> | 6 </head> |
7 <body> | 7 <body> |
8 <div id="container"> | 8 <div id="container"> |
9 <div id="destination" contentEditable></div> | 9 <div id="destination" contentEditable></div> |
10 </div> | 10 </div> |
(...skipping 20 matching lines...) Expand all Loading... |
31 var y = destination.offsetParent.offsetTop + destination.offsetTop + destina
tion.offsetHeight / 2; | 31 var y = destination.offsetParent.offsetTop + destination.offsetTop + destina
tion.offsetHeight / 2; |
32 eventSender.mouseMoveTo(x, y); | 32 eventSender.mouseMoveTo(x, y); |
33 contextMenuElements = eventSender.contextClick(); | 33 contextMenuElements = eventSender.contextClick(); |
34 // Esc key to hide the context menu. | 34 // Esc key to hide the context menu. |
35 eventSender.keyDown(String.fromCharCode(0x001B), null); | 35 eventSender.keyDown(String.fromCharCode(0x001B), null); |
36 | 36 |
37 document.getElementById("destination").innerHTML = ""; | 37 document.getElementById("destination").innerHTML = ""; |
38 }); | 38 }); |
39 | 39 |
40 </script> | 40 </script> |
41 <script src="../../fast/js/resources/js-test-post.js"></script> | |
42 </body> | 41 </body> |
43 </html> | 42 </html> |
OLD | NEW |