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
/
replaced
/
absolute-image-position-and-focus-event.html
blob
972c164f9491d785ae1df980c0e4d7729aa6a025
1
<!DOCTYPE
html
>
2
<style>
3
div {
4
position: relative;
5
}
6
7
img {
8
position: absolute;
9
top:
0
px;
10
left:
0
px;
11
}
12
</style>
13
<body
onload='runTest();'
>
14
<div>
15
<br>
16
Text should be hidden by red.
17
<a
href
=
"#"
><img
src
=
"./resources/rectangle-red-200x100.png"
></a>
18
</div>
19
</body>
20
<script>
21
function
runTest
()
22
{
23
var
anchor
=
document
.
querySelector
(
'a'
);
24
anchor
.
focus
();
25
anchor
.
blur
();
26
}
27
</script>