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

Side by Side Diff: LayoutTests/editing/input/scroll-to-edge-if-line-break-at-end-of-document-contenteditable.html

Issue 10382217: Merge 117307 - Avoid jumpscroll when entering new text in a multi-line editor. (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1132/
Patch Set: Created 8 years, 7 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <head> 2 <head>
3 <script type="text/javascript" src="resources/reveal-utilities.js"></script> 3 <script type="text/javascript" src="resources/reveal-utilities.js"></script>
4 </head> 4 </head>
5 <body> 5 <body>
6 <div>When the caret is scrolled out and resides at the end of the contenteditabl e, 6 <div>When the caret is scrolled out and resides at the end of the contenteditabl e,
7 on pressing &quot;Ctrl+Return&quot; it must be scrolled to the bottom of the vie w, 7 on pressing &quot;Ctrl+Return&quot; it must be scrolled to the bottom of the vie w,
8 not to the center to avoid undesirable content view jumping.</div> 8 not to the center to avoid undesirable content view jumping.</div>
9 <div style="height:1000px;"> 9 <div style="height:1000px;">
10 <div style="overflow:visible; height:100px;" contenteditable="true" id="input" ></div> 10 <div style="overflow:visible; height:100px;" contenteditable="true" id="input" ></div>
11 </div> 11 </div>
12 <script> 12 <script>
13 if (window.layoutTestController) 13 if (window.layoutTestController)
14 layoutTestController.dumpAsText(); 14 layoutTestController.dumpAsText();
15 15
16 performJumpAtTheEdgeTest(true); 16 performJumpAtTheEdgeTest(true);
17 17
18 </script> 18 </script>
19 </body> 19 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698