Index: LayoutTests/fast/forms/textarea-arrow-navigation.html |
diff --git a/LayoutTests/fast/forms/textarea-arrow-navigation.html b/LayoutTests/fast/forms/textarea-arrow-navigation.html |
index eeff6c22c41f5ccfb9e6d35e1ed37f87a11102f4..a9da8439aa9aea74a9b444c8f861a80fdf36adb8 100644 |
--- a/LayoutTests/fast/forms/textarea-arrow-navigation.html |
+++ b/LayoutTests/fast/forms/textarea-arrow-navigation.html |
@@ -23,7 +23,11 @@ function runTest() |
// set the cursor several characters into the first line of the text area so |
// that when you go down by a line, the cursor will be at the end of the |
// numbered lines: |
- textarea.setSelectionRange(5, 5); |
+ var startX = textarea.offsetLeft + 30; |
tkent
2014/06/01 23:40:55
Ditto.
harpreet.sk
2014/07/02 10:13:05
Done.
|
+ var startY = textarea.offsetTop + 4; |
+ eventSender.mouseMoveTo(startX,startY); |
+ eventSender.mouseDown(); |
+ eventSender.mouseUp(); |
for (var i = 0; i < 10; i++) { |
// press the 'down arrow' a bunch of times to try to get to the end of the text area |
eventSender.keyDown("downArrow"); |