mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-29 21:25:35 +00:00
19 lines
503 B
HTML
19 lines
503 B
HTML
<html class="reftest-wait">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
</head>
|
|
<body onload="start()">
|
|
<textarea onfocus="done()">س</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>
|