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

17 lines
462 B
HTML
Raw Normal View History

<html class="reftest-wait">
<body onload="start()">
<textarea dir="rtl" onfocus="done()" style="-moz-appearance: none">s</textarea>
<script>
var textarea = document.querySelector("textarea");
function start() {
textarea.selectionStart = 0;
textarea.selectionEnd = 0;
textarea.focus();
}
function done() {
document.documentElement.removeAttribute("class");
}
</script>
</body>
</html>