Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

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

Issue 9969106: Revert 103073 - Scroll non-visible edit controls and caret into the center of the view when startin… (Closed) Base URL:
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 113049)
+++ LayoutTests/editing/input/caret-at-the-edge-of-input.html (working copy)
@@ -1,19 +0,0 @@
-<!DOCTYPE html>
-<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" />
-var inputEdit = document.getElementById("input-edit");
-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]);

Powered by Google App Engine
This is Rietveld 408576698