mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-25 11:15:34 +00:00
297b9d70e1
MozReview-Commit-ID: IbwWM0FL6HF --HG-- extra : source : bbb688fe1ba3f5201a190c6e25b693ef7272ea2d
19 lines
552 B
HTML
19 lines
552 B
HTML
<html class="reftest-wait">
|
|
<body onload="start()">
|
|
<textarea dir="rtl" onfocus="done()"
|
|
style="-moz-appearance: none;
|
|
unicode-bidi: bidi-override;">s</textarea>
|
|
<script>
|
|
var textarea = document.querySelector("textarea");
|
|
function start() {
|
|
textarea.focus();
|
|
textarea.selectionStart = 1; // place caret after the letter
|
|
textarea.selectionEnd = 1;
|
|
}
|
|
function done() {
|
|
document.documentElement.removeAttribute("class");
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|