Index: content/test/data/touch_selection.html |
diff --git a/content/test/data/touch_selection.html b/content/test/data/touch_selection.html |
index dc8ab062763a99cab39d7b9e6b59ed41ce04646c..7c5a1b775ea669d6f4948930e0a0b3bd65795074 100644 |
--- a/content/test/data/touch_selection.html |
+++ b/content/test/data/touch_selection.html |
@@ -1,6 +1,17 @@ |
<html> |
+<style> |
+/* Add space between div and textfield so that touch selects the text in div. */ |
+#textDiv { |
+ margin-bottom: 30px; |
+} |
+</style> |
+<body> |
+<div id='dummy'>Dummy Padding Text</div> |
<div id='textDiv'>Some text we can select</div> |
+<div id='dummy'>Dummy Padding Text</div> |
+ |
<input id='textfield' type="text" value="Text in a textfield"> |
+</body> |
<script> |
function focus_textfield() { |