projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git]
/
src
/
third_party
/
WebKit
/
LayoutTests
/
fast
/
sub-pixel
/
focus-ring-around-sub-pixel-layer.html
1
<!DOCTYPE html>
2
<style>
3
.focus {
4
position: absolute;
5
top: 50.5px;
6
left: 10.5px;
7
width: 100.6px;
8
outline: -webkit-focus-ring-color auto 5px;
9
}
10
.layer {
11
position: relative;
12
height: 20px;
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>