summaryrefslogtreecommitdiffstats
path: root/editor/reftests/caret-rtl-text-in-ltr-input-notref-2.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--editor/reftests/caret-rtl-text-in-ltr-input-notref-2.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/editor/reftests/caret-rtl-text-in-ltr-input-notref-2.html b/editor/reftests/caret-rtl-text-in-ltr-input-notref-2.html
new file mode 100644
index 0000000000..410400c01d
--- /dev/null
+++ b/editor/reftests/caret-rtl-text-in-ltr-input-notref-2.html
@@ -0,0 +1,9 @@
+<!doctype html>
+<meta charset="utf-8">
+<input type=text value="الخير" autofocus>
+<script>
+onload = () => {
+ let input = document.querySelector("input");
+ input.selectionStart = input.selectionEnd = 0;
+};
+</script>