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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/textarea-no-scroll-on-blur.html

Issue 1522803002: Move textarea-related tests to fast/forms/textarea/, part 1. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@color-uaf
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-no-scroll-on-blur.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/textarea-no-scroll-on-blur.html b/third_party/WebKit/LayoutTests/fast/forms/textarea-no-scroll-on-blur.html
deleted file mode 100644
index f80ec90bdf6c594b08843eb8cd4d10e8ae85e4e3..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/forms/textarea-no-scroll-on-blur.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<html>
-<head>
-<script>
- function test() {
- if (window.testRunner)
- testRunner.dumpAsText();
-
- var ta = document.getElementById('ta');
-
- // Send caret to bottom of textarea
- ta.focus();
- ta.setSelectionRange(ta.value.length, ta.value.length);
- ta.blur();
-
- ta.focus();
- ta.blur();
- if (ta.scrollTop != 0)
- document.getElementById('res').innerHTML = "Test Passed";
- }
-</script>
-</head>
-<body onload="test()">
-This tests that we don't scroll back to the top when leaving a textarea
-<br>
-<textarea id="ta">
-1
-2
-3
-4
-5
-</textarea>
-<div id="res">Test Failed</div>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698