repo.or.cz
/
gecko.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bug 1835241 - Part 6: Use the same parameter names at definition and declaration...
[gecko.git]
/
editor
/
reftests
/
caret_on_textarea_lastline.html
blob
24a53bd7d4a5c5d565454f35c8561657d7107472
1
<!DOCTYPE
html
>
2
<html>
3
<body
onload
=
"loaded()"
>
4
<script>
5
function
loaded
() {
6
var
t
=
document
.
querySelector
(
'textarea'
);
7
t
.
selectionStart
=
t
.
selectionEnd
=
t
.
value
.
length
;
8
t
.
focus
();
9
}
10
</script>
11
<textarea>
foo
12
</textarea>
13
</body>
14
</html>