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

Unified Diff: LayoutTests/editing/input/caret-at-the-edge-of-input.html

Issue 9965112: Revert 103073 - Scroll non-visible edit controls and caret into the center of the view when startin… (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1025/
Patch Set: Created 8 years, 9 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/editing/input/caret-at-the-edge-of-input.html
===================================================================
--- LayoutTests/editing/input/caret-at-the-edge-of-input.html (revision 113050)
+++ LayoutTests/editing/input/caret-at-the-edge-of-input.html (working copy)
@@ -1,19 +0,0 @@
-<!DOCTYPE html>
-<head>
-</head>
-<body>
-<div>When the caret reaches the edge of the input box, on the next input if must jump to the center of the control.</div>
-<input type="text" name="input-edit" id="input-edit" size="10" value="012345678901234567890123456789" />
-<script>
-
-var inputEdit = document.getElementById("input-edit");
-inputEdit.focus();
-var inputEditContent = inputEdit.value;
-inputEdit.setSelectionRange(0, 0);
-if (window.eventSender) {
- for (var i = 0; i < inputEdit.size * 1.2; ++i)
- eventSender.keyDown(inputEditContent[i]);
-}
-
-</script>
-</body>

Powered by Google App Engine
This is Rietveld 408576698