Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(202)

Side by Side Diff: LayoutTests/fast/sub-pixel/focus-ring-around-sub-pixel-layer.html

Issue 492053002: Use LayoutRect during addFocusRingRects to avoid loss of precision (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 .focus {
4 position: absolute;
5 top: 50.5px;
6 left: 10.5px;
7 width: 100.6px;
8 outline: red auto 4px;
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698