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

Side by Side Diff: LayoutTests/editing/input/reveal-edit-on-paste-vertically.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, 8 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <head>
3 <script type="text/javascript" src="resources/reveal-utilities.js"></script>
4 <style type="text/css">
5 /* This is needed for divs percent heights to work. */
6 html { height:100%; }
7 body { margin:0; padding:0; height:100%; }
8 </style>
9 </head>
10 <body>
11 <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>
12 <div style="height:200%"></div>
13 <div>To test manually, have some text in the clipboard, then scroll the page up to the top, then paste. Input box should be scrolled into the middle of the view .</div>
14 <input type="text" name="input" id="input" />
15 <div style="height:200%"></div>
16 <div contenteditable="true" id="copy">WebKit</div>
17 <div id="results"></div>
18 <script>
19
20 if (window.layoutTestController)
21 layoutTestController.dumpAsText();
22 performVerticalScrollingPasteTest();
23 assertInputIsInTheMiddleOfViewport();
24
25 </script>
26 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698