summaryrefslogtreecommitdiffstats
path: root/editor/reftests/caret-rtl-text-in-ltr-input-notref-2.html
blob: 410400c01da1dd8b2bcd93d33694ffe5c133892c (plain)
1
2
3
4
5
6
7
8
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>