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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/textarea-scrolled-endline-caret.html

Issue 1524663002: Move textarea-related tests to fast/forms/textarea/, part 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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: third_party/WebKit/LayoutTests/fast/forms/textarea-scrolled-endline-caret.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/textarea-scrolled-endline-caret.html b/third_party/WebKit/LayoutTests/fast/forms/textarea-scrolled-endline-caret.html
deleted file mode 100644
index 734cdcb06a363663b5d0910014fd664b25a540e8..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/forms/textarea-scrolled-endline-caret.html
+++ /dev/null
@@ -1,45 +0,0 @@
-<head>
-<script>
-function test()
-{
- if (window.testRunner)
- testRunner.dumpAsText();
- var ta = document.getElementById('ta')
- var res = document.getElementById('res');
-
- // Send caret to bottom of textarea
- ta.focus();
- ta.setSelectionRange(ta.value.length, ta.value.length);
- ta.blur();
-
- ta.focus();
- // click
- if (window.eventSender) {
- eventSender.mouseMoveTo(90, 20);
- eventSender.mouseDown();
- eventSender.mouseUp();
- if (ta.selectionEnd == 17)
- res.innerHTML = "Test Succeeded";
- else
- res.innerHTML = "Test Failed: caret is at " + ta.selectionEnd;
- } else {
- res.innerHTML = "Test can't run without event sender (part of DumpRenderTree). "
- + "To test manually, click at the middle of the line marked 9 and check that the caret appears after the 9.";
- }
-}
-</script>
-</head>
-<body onload="test()">
-<textarea id="ta">
-1
-2
-3
-4
-5
-6
-7
-8
-9
-10</textarea>
-<div id="res"></div>
-</body>

Powered by Google App Engine
This is Rietveld 408576698