| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../resources/helper.js"></script> |
| 4 <style> | 5 <style> |
| 5 body { width: 600px; } | 6 body { width: 600px; } |
| 6 | 7 |
| 7 #footNote { | 8 #footNote { |
| 8 -webkit-flow-into: footNote; | 9 -webkit-flow-into: footNote; |
| 9 display: block; | 10 display: block; |
| 10 font-size: 13px; | 11 font-size: 13px; |
| 11 } | 12 } |
| 12 | 13 |
| 13 #footNoteRegion { -webkit-flow-from: footNote; } | 14 #footNoteRegion { -webkit-flow-from: footNote; } |
| (...skipping 25 matching lines...) Expand all Loading... |
| 39 eventSender.mouseDown(); | 40 eventSender.mouseDown(); |
| 40 | 41 |
| 41 // We are posotioning the mouse to the center of the footNote (what is a dif
ferent region flow) and release the button | 42 // We are posotioning the mouse to the center of the footNote (what is a dif
ferent region flow) and release the button |
| 42 var end = document.getElementById("footNoteRegion"); | 43 var end = document.getElementById("footNoteRegion"); |
| 43 var xEndPosition = end.offsetLeft + end.offsetWidth / 2; | 44 var xEndPosition = end.offsetLeft + end.offsetWidth / 2; |
| 44 var yEndPosition = end.offsetTop + end.offsetHeight / 2; | 45 var yEndPosition = end.offsetTop + end.offsetHeight / 2; |
| 45 eventSender.mouseMoveTo(xEndPosition, yEndPosition); | 46 eventSender.mouseMoveTo(xEndPosition, yEndPosition); |
| 46 eventSender.mouseUp(); | 47 eventSender.mouseUp(); |
| 47 | 48 |
| 48 // We are moving the mouse somewhere else and click to clear the selection | 49 // We are moving the mouse somewhere else and click to clear the selection |
| 49 eventSender.mouseMoveTo(1, 1); | 50 mouseClick(1, 1); |
| 50 eventSender.mouseDown(); | |
| 51 eventSender.mouseUp(); | |
| 52 } | 51 } |
| 53 </script> | 52 </script> |
| 54 </body> | 53 </body> |
| 55 </html> | 54 </html> |
| OLD | NEW |