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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/sub-pixel/sub-pixel-border-2.html

Issue 2640143005: Support subpixel layout for borders. (Closed)
Patch Set: Rebaselined tests. Created 3 years, 10 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <title>Test rendering of sub-pixel borders</title>
6 <style>
7 .test {
8 box-sizing: content-box;
9 display: inline-block;
10 margin: 5px;
11 width: 80px;
12 height: 80px;
13 border: 1px solid green;
14 background: lightgreen;
15 text-align: center;
16 line-height: 80px;
17 }
18 </style>
19 </head>
20 <body>
21 <div class="test" style="border-width: 0.25px">0.25px</div>
22 <div class="test" style="border-width: 0.5px">0.5px</div>
23 <div class="test" style="border-width: 0.75px">0.75px</div>
24 <div class="test" style="border-width: 1px">1px</div>
25 <div class="test" style="border-width: 1.25px">1.25px</div>
26 <br>
27 <div class="test" style="border-width: 1.5px">1.5px</div>
28 <div class="test" style="border-width: 1.75px">1.75px</div>
29 <div class="test" id="reference-2" style="border-width: 2px">2px</div>
30 <div class="test" style="border-width: 2.25px">2.25px</div>
31 <br>
32 <div class="test" style="border-width: 2.5px">2.5px</div>
33 <div class="test" style="border-width: 2.75px">2.75px</div>
34 <div class="test" id="reference-3" style="border-width: 3px">3px</div>
35 <div class="test" style="border-width: 3.25px">3.25px</div>
36 <p>
37 Border thickness should be rounded, not floored, with the exception of
38 values below 1px where it should always round up.
39 </p>
40 </body>
41 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698