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