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
/
LayoutTests
/
fast
/
events
/
click-checkbox-blur-refocus-window-expected.html
blob
7ee71eea08c177c1bf0627cf19f500210ee2a7ae
1
<!DOCTYPE
html
>
2
<html>
3
<head>
4
</head>
5
<body>
6
<p>
This test ensures that the focus ring is shown on the checkbox after tabbing out and inside the window.
</p>
7
<input
type
=
"checkbox"
id
=
"checkbox"
checked
>
8
<input
id
=
"input"
>
9
<pre
id
=
"console"
>
10
checkbox was focused
11
checkbox was blurred
12
input was focused
13
input was blurred
14
window was blurred
15
window was focused
16
checkbox was focused
17
</pre>
18
19
<script>
20
var
checkbox
=
document
.
getElementById
(
'checkbox'
);
21
checkbox
.
focus
();
22
</script>
23
</body>
24
</html>