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

Side by Side Diff: LayoutTests/fast/sub-pixel/focus-ring-around-sub-pixel-layer-expected.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 .sub {
11 height: 20px;
12 }
13 </style>
14 Tests focus ring around sub-pixel positioned and sized element containing layers .
15 The focus ring should be rectangular.
16 <div class="focus">
17 Text
18 <div class="sub"></div>
19 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698