repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge Chromium + Blink git repositories
[chromium-blink-merge.git]
/
third_party
/
WebKit
/
Source
/
web
/
tests
/
data
/
autofocus_input_field_iframe.html
blob
76c870b1c9487cc85458647cfe92cc0cecce069c
1
<html>
2
<script
type
=
"text/javascript"
>
3
function
autofocus
() {
4
document
.
getElementById
(
'inputfield'
).
focus
();
5
}
6
window
.
onload
=
autofocus
;
7
</script>
8
<body>
9
<p>
This page has a auto focused input field.
</p>
10
<input
type
=
"text"
id
=
"inputfield"
/>
11
</body>
12
</html>