2010-12-06 22:30:05 -08:00
|
|
|
<!DOCTYPE HTML><html><head>
|
2011-06-29 11:22:39 -07:00
|
|
|
<script type="text/javascript" src="/tests/SimpleTest/EventUtils.js"></script>
|
2011-05-12 06:52:38 -07:00
|
|
|
<script type="text/javascript">
|
|
|
|
function loaded() {
|
|
|
|
var t = document.querySelector("textarea");
|
|
|
|
t.focus();
|
|
|
|
t.selectionStart = t.selectionEnd = 4;
|
|
|
|
}
|
|
|
|
</script>
|
2010-12-06 22:30:05 -08:00
|
|
|
</head>
|
2011-05-12 06:52:38 -07:00
|
|
|
<body onload="loaded()">
|
2014-01-24 13:05:52 -08:00
|
|
|
<textarea style="height: 200px; display: block; -moz-appearance: none" spellcheck="false"
|
2010-12-06 22:30:05 -08:00
|
|
|
>foo
|
|
|
|
</textarea>
|
|
|
|
4 - 4
|
|
|
|
</body>
|
|
|
|
</html>
|