зеркало из https://github.com/mozilla/gecko-dev.git
16 строки
451 B
HTML
16 строки
451 B
HTML
<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.focus();
|
|
}
|
|
function done() {
|
|
textarea.selectionStart = textarea.selectionEnd = 0;
|
|
document.documentElement.removeAttribute("class");
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|