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

Side by Side Diff: LayoutTests/editing/selection/block-cursor-overtype-mode-end-of-line.html

Issue 437843002: Invalid caret at the end of line in overtype mode (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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 <html>
leviw_travelin_and_unemployed 2014/08/07 18:39:16 Nit: your tests don't actually need html or head t
svillar 2014/08/08 09:01:25 I'll remove them.
3 <head>
4 <script>
5 if (window.testRunner)
6 internals.toggleOverwriteModeEnabled(document);
7
8 function run() {
9 var element = (document.getElementById("editableContent")).firstChild;
10 getSelection().collapse(element, element.length);
11 }
12 </script>
13 </head>
14 <body style = "font: 30px;" onload="run();"">
15 <!-- We want to test block cursor appearance at the end of lines that aren't the end of the editable element. -->
16 <div id="editableContent" contenteditable="true">ABC<br>ABC</div>
17 </body>
18 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698