Index: content/test/data/accessibility/html/input-text-with-selection.html |
diff --git a/content/test/data/accessibility/html/input-text-with-selection.html b/content/test/data/accessibility/html/input-text-with-selection.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3c45d0c19d3909347d2634c5664c8679ce8b9dca |
--- /dev/null |
+++ b/content/test/data/accessibility/html/input-text-with-selection.html |
@@ -0,0 +1,21 @@ |
+<!-- |
+@MAC-ALLOW:AXRole* |
+@MAC-ALLOW:AXPlaceholder* |
+@WIN-ALLOW:text-input-type* |
+@WIN-ALLOW:IA2_STATE* |
+@WIN-ALLOW:caret_offset* |
+@WIN-ALLOW:n_selections* |
+@WIN-ALLOW:selection_start* |
+@WIN-ALLOW:selection_end* |
+--> |
+<!DOCTYPE html> |
+<html> |
+ <body> |
+ <input type="text" value="Selection"> |
+ <script> |
+ var input = document.querySelector("input"); |
+ input.focus(); |
+ input.setSelectionRange(3, 5); |
+ </script> |
+ </body> |
+</html> |