Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(492)

Unified Diff: LayoutTests/accessibility/textarea-selected-text-range.html

Issue 1073953002: Renamed layout tests in preparation for adding code to test contenteditable and role="textbox" in a… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/accessibility/textarea-selected-text-range.html
diff --git a/LayoutTests/accessibility/textarea-selected-text-range.html b/LayoutTests/accessibility/textarea-selected-text-range.html
deleted file mode 100644
index 9fe7fe465381bd2651c9c9980ad076b57c264325..0000000000000000000000000000000000000000
--- a/LayoutTests/accessibility/textarea-selected-text-range.html
+++ /dev/null
@@ -1,37 +0,0 @@
-<html>
-<script>
- if (window.testRunner)
- testRunner.dumpAsText();
-</script>
-<body>
-
- <div id="result"></div>
-
- <textarea name="area1" id="area1" rows="5" cols="40">
-line 1
-line 2
-line 3
- </textarea>
-
- <script>
- if (window.accessibilityController) {
- var result = document.getElementById("result");
-
- var area1 = document.getElementById("area1");
- area1.focus();
-
- var textArea = accessibilityController.focusedElement;
-
- textArea.setSelectedTextRange(4,0);
- result.innerText += "(4,0) = " + textArea.selectedTextRange + "\n\n";
-
- textArea.setSelectedTextRange(8,2);
- result.innerText += "(8,2) = " + textArea.selectedTextRange + "\n\n";
-
- textArea.setSelectedTextRange(100,0);
- result.innerText += "(100,0) = " + textArea.selectedTextRange + "\n\n";
-
- }
- </script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698