Index: LayoutTests/editing/selection/block-cursor-overtype-mode-end-of-line-rtl.html |
diff --git a/LayoutTests/editing/selection/block-cursor-overtype-mode-end-of-line-rtl.html b/LayoutTests/editing/selection/block-cursor-overtype-mode-end-of-line-rtl.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..534097dd22c9f3e3876f2694e73c9ba449dd4b09 |
--- /dev/null |
+++ b/LayoutTests/editing/selection/block-cursor-overtype-mode-end-of-line-rtl.html |
@@ -0,0 +1,18 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+<script> |
+if (window.testRunner) |
+ internals.toggleOverwriteModeEnabled(document); |
+ |
+function run() { |
+ var element = (document.getElementById("editableContent")).firstChild; |
+ getSelection().collapse(element, element.length); |
+} |
+</script> |
+</head> |
+<body style = "font: 30px;" onload="run();""> |
leviw_travelin_and_unemployed
2014/08/07 18:39:16
Is the body style necessary?
svillar
2014/08/08 09:01:25
Not really
|
+ <!-- We want to test block cursor appearance at the end of lines that aren't the end of the editable element. --> |
+ <div id="editableContent" style="direction: rtl;" contenteditable="true">שדןABC<br>ABC</div> |
+</body> |
+</html> |