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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/input/scroll-to-edge-if-paragraph-separator-at-end-of-document-contenteditable.html

Issue 1942683004: Ctrl/Alt+Enter shouldn't insert newline (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Yosin's review Created 4 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;Return&quot; it must be scrolled to the bottom of the view, 7 on pressing &quot;Return&quot; it must be scrolled to the bottom of the view,
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.testRunner) 13 if (window.testRunner)
14 testRunner.dumpAsText(); 14 testRunner.dumpAsText();
15 15
16 performJumpAtTheEdgeTest(false); 16 performJumpAtTheEdgeTest();
17 17
18 </script> 18 </script>
19 </body> 19 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698