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
/
sub-pixel
/
focus-ring-around-sub-pixel-layer.html
blob
25f627367c472d269c9fca16c687728063ad1213
1
<!DOCTYPE
html
>
2
<style>
3
.focus {
4
position: absolute;
5
top:
50.5
px;
6
left:
10.5
px;
7
width:
100.6
px;
8
outline: -webkit-focus-ring-color auto
5
px;
9
}
10
.layer {
11
position: relative;
12
height:
20
px;
13
}
14
</style>
15
Tests focus ring around sub-pixel positioned and sized element containing layers.
16
The focus ring should be rectangular.
17
<div
class
=
"focus"
>
18
Text
19
<div
class
=
"layer"
></div>
20
</div>