Index: Source/web/tests/data/move_range_selection_extent_input_field.html |
diff --git a/Source/web/tests/data/move_range_selection_extent_input_field.html b/Source/web/tests/data/move_range_selection_extent_input_field.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..420c86d6113704628b75cf7b01ae0d97abbac94c |
--- /dev/null |
+++ b/Source/web/tests/data/move_range_selection_extent_input_field.html |
@@ -0,0 +1,15 @@ |
+<!DOCTYPE html> |
+<html id='root'> |
+<body> |
+<input type="text" id="inputfield" style='width:5em' value='Lengthy text goes here.' /> |
+<script> |
+ function select() { |
+ var input = document.getElementById('inputfield'); |
+ var range = input.setSelectionRange(0, 6); |
+ window.getSelection().addRange(range); |
+ } |
+ window.onload = select; |
+</script> |
+</body> |
+</html> |
+ |