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

Unified Diff: LayoutTests/editing/selection/block-cursor-overtype-mode-end-of-line-expected.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, 5 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/selection/block-cursor-overtype-mode-end-of-line-expected.html
diff --git a/LayoutTests/editing/selection/block-cursor-overtype-mode-end-of-line-expected.html b/LayoutTests/editing/selection/block-cursor-overtype-mode-end-of-line-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..08841d04f3dad8b1a63f20912f1ccc057d7542d1
--- /dev/null
+++ b/LayoutTests/editing/selection/block-cursor-overtype-mode-end-of-line-expected.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function run() {
+ var element = (document.getElementById("editableContent")).firstChild;
+ getSelection().collapse(element, element.length);
+}
+</script>
+</head>
+<body style = "font: 30px;" onload="run();">
+ <!-- We want to test block cursor appearance at the end of lines that aren't the end of the editable element. -->
+ <div id="editableContent" contenteditable="true">ABC<br>ABC</div>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698