gecko-dev/layout/base/tests/bug646382-2-ref.html

19 строки
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>