Index: LayoutTests/editing/selection/block-cursor-overtype-mode-end-of-line.html |
diff --git a/LayoutTests/editing/selection/block-cursor-overtype-mode-end-of-line.html b/LayoutTests/editing/selection/block-cursor-overtype-mode-end-of-line.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7df24c1e0775a73920026acc6bff7ac63935ea37 |
--- /dev/null |
+++ b/LayoutTests/editing/selection/block-cursor-overtype-mode-end-of-line.html |
@@ -0,0 +1,14 @@ |
+<!DOCTYPE html> |
+<script> |
+if (window.testRunner) |
+ internals.toggleOverwriteModeEnabled(document); |
+ |
+function runTest() { |
+ var element = (document.getElementById("editableContent")).firstChild; |
+ getSelection().collapse(element, element.length); |
+} |
+</script> |
+<body onload="runTest();"> |
+ <!-- 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> |