Index: LayoutTests/accessibility/input-text-selected-range.html |
diff --git a/LayoutTests/accessibility/input-text-selected-range.html b/LayoutTests/accessibility/input-text-selected-range.html |
deleted file mode 100644 |
index f004a14009334fd1c05d60e8678febc4fffe02c5..0000000000000000000000000000000000000000 |
--- a/LayoutTests/accessibility/input-text-selected-range.html |
+++ /dev/null |
@@ -1,45 +0,0 @@ |
-<!DOCTYPE html> |
-<html> |
- <head> |
- <script src="../resources/js-test.js"></script> |
- </head> |
- <body> |
- |
- <input type="text" id="input" value="Line 1"> |
- |
- <p id="description"></p> |
- <div id="console"></div> |
- |
- <script> |
- description("This tests that text selection is reported correctly for text input elements."); |
- |
- if (window.accessibilityController) { |
- |
- var input = document.getElementById('input'); |
- input.focus(); |
- var inputAccessible = |
- accessibilityController.accessibleElementById('input'); |
- |
- // Select the entire contents. |
- input.select(); |
- shouldBeZero("inputAccessible.selectionStart"); |
- shouldBeEqualToNumber("inputAccessible.selectionEnd", 6); |
- shouldBeEqualToNumber("inputAccessible.selectionStartLineNumber", 0); |
- shouldBeEqualToNumber("inputAccessible.selectionEndLineNumber", 0); |
- |
- // Select all possible text ranges. |
- for (var start = 0; start < 7; ++start) { |
- for (var end = start + 1; end < 7; ++end) { |
- input.setSelectionRange(start, end); |
- shouldBeEqualToNumber("inputAccessible.selectionStart", start); |
- shouldBeEqualToNumber("inputAccessible.selectionEnd", end); |
- shouldBeEqualToNumber("inputAccessible.selectionStartLineNumber", 0); |
- shouldBeEqualToNumber("inputAccessible.selectionEndLineNumber", 0); |
- } |
- } |
- |
- } |
- </script> |
- |
- </body> |
-</html> |