mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 08:35:26 +00:00
16 lines
421 B
HTML
16 lines
421 B
HTML
<html class="reftest-wait">
|
|
<body onload="start()">
|
|
<textarea dir="rtl" onfocus="done()">s</textarea>
|
|
<script>
|
|
var textarea = document.querySelector("textarea");
|
|
function start() {
|
|
textarea.focus();
|
|
}
|
|
function done() {
|
|
textarea.selectionStart = textarea.selectionEnd = 0;
|
|
document.documentElement.removeAttribute("class");
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|