Index: content/test/data/accessibility/html/textarea-with-selection.html |
diff --git a/content/test/data/accessibility/html/textarea-with-selection.html b/content/test/data/accessibility/html/textarea-with-selection.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..fc29809f0ebd687e53ef7867cd6a8e9b31eb7d9b |
--- /dev/null |
+++ b/content/test/data/accessibility/html/textarea-with-selection.html |
@@ -0,0 +1,23 @@ |
+<!-- |
+@MAC-ALLOW:AXRole* |
+@WIN-ALLOW:IA2_STATE* |
+@WIN-ALLOW:caret_offset* |
+@WIN-ALLOW:n_selections* |
+@WIN-ALLOW:selection_start* |
+@WIN-ALLOW:selection_end* |
+--> |
+<!DOCTYPE html> |
+<html> |
+<body> |
+ |
+<textarea rows="4" cols="50" autofocus> |
+The textarea tag defines a multi-line text input control. |
+</textarea> |
+ |
+ <script> |
+ var textarea = document.querySelector('textarea'); |
+ textarea.selectionStart = 0; |
+ textarea.selectionEnd = textarea.textLength; |
+ </script> |
+</body> |
+</html> |