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

Unified Diff: LayoutTests/accessibility/textarea-line-for-index.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-line-for-index.html
diff --git a/LayoutTests/accessibility/textarea-line-for-index.html b/LayoutTests/accessibility/textarea-line-for-index.html
deleted file mode 100644
index 1b68ad9a7356e12880aab3e257e9b73ae023aff0..0000000000000000000000000000000000000000
--- a/LayoutTests/accessibility/textarea-line-for-index.html
+++ /dev/null
@@ -1,36 +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();
-
- for (var k = 0; k < 3; k++) {
- var index = (k*7);
- var lineNumber = accessibilityController.focusedElement.lineForIndex(index);
- if (lineNumber == k) {
- result.innerText += "Test:" + k + ") Line For Index: Pass [" + index + "->" + lineNumber + "]\n";
- }
- else {
- result.innerText += "Test:" + k + ") Line For Index: Fail [" + index + "->" + lineNumber + "]\n";
- }
- }
- }
- </script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698