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

Unified Diff: LayoutTests/editing/input/reveal-contenteditable-on-paste-vertically.html

Issue 9969106: 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/1084/
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/reveal-contenteditable-on-paste-vertically.html
===================================================================
--- LayoutTests/editing/input/reveal-contenteditable-on-paste-vertically.html (revision 113049)
+++ LayoutTests/editing/input/reveal-contenteditable-on-paste-vertically.html (working copy)
@@ -1,26 +0,0 @@
-<!DOCTYPE html>
-<head>
-<script type="text/javascript" src="resources/reveal-utilities.js"></script>
-<style type="text/css">
-/* This is needed for divs percent heights to work. */
-html { height:100%; }
-body { margin:0; padding:0; height:100%; }
-</style>
-</head>
-<body>
-<div>After pasting text in a scrolled out of view editor control, the control is to be brought in the center of the view</div>
-<div style="height:200%"></div>
-<div>To test manually, have some text in the clipboard, scroll the page up to the top, then paste. The control should be scrolled into the middle of the view.</div>
-<div style="width:150px; border:thin solid black" contenteditable="true" id="input"></div>
-<div style="height:200%"></div>
-<div contenteditable="true" id="copy">WebKit</div>
-<div id="results"></div>
-<script>
-
-if (window.layoutTestController)
- layoutTestController.dumpAsText();
-performVerticalScrollingPasteTest();
-assertInputIsInTheMiddleOfViewport();
-
-</script>
-</body>

Powered by Google App Engine
This is Rietveld 408576698