mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 22:25:30 +00:00
18 lines
467 B
HTML
18 lines
467 B
HTML
<!DOCTYPE HTML><html><head>
|
|
<script type="text/javascript" src="/tests/SimpleTest/EventUtils.js"></script>
|
|
<script type="text/javascript">
|
|
function loaded() {
|
|
var t = document.querySelector("textarea");
|
|
t.focus();
|
|
t.selectionStart = t.selectionEnd = 4;
|
|
}
|
|
</script>
|
|
</head>
|
|
<body onload="loaded()">
|
|
<textarea style="height: 200px; display: block; -moz-appearance: none" spellcheck="false"
|
|
>foo
|
|
</textarea>
|
|
4 - 4
|
|
</body>
|
|
</html>
|