Index: content/test/data/touch_selection.html |
diff --git a/content/test/data/touch_selection.html b/content/test/data/touch_selection.html |
index 0c4721a98e89d80def24a0a0fed0ffb72cc3bfa5..89d768316132ec07618d91eb3c6cb913d1d1c61e 100644 |
--- a/content/test/data/touch_selection.html |
+++ b/content/test/data/touch_selection.html |
@@ -18,6 +18,8 @@ function get_selection() { |
function focus_textfield() { |
document.getElementById("textfield").focus(); |
+ // Focusing the textfiled selects its text. Collapse selection to a cursor. |
+ window.getSelection().collapseToStart(); |
} |
function get_cursor_position() { |