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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/sub-pixel/zoomed-em-border-expected.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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <style> 4 <style>
5 html { 5 html {
6 padding: 1em; 6 padding: 1em;
7 } 7 }
8 8
9 body { 9 body {
10 zoom: 3.0; 10 zoom: 3.0;
11 } 11 }
12 12
13 #one, #two { 13 #one, #two {
14 display: inline-block; 14 display: inline-block;
15 padding: 0 0.5em; 15 padding: 0 0.5em;
16 font-size: 10px; 16 font-size: 10px;
17 } 17 }
18 18
19 #one { 19 #one {
20 line-height: 1.5; 20 line-height: 1.5;
21 background-color: orange; 21 background-color: orange;
22 } 22 }
23 23
24 #two { 24 #two {
25 line-height: 1; 25 line-height: 1;
26 border-width: 2.333px 0; 26 border-width: 2.5px 0;
27 border-color: #f60; 27 border-color: #f60;
28 border-style: solid; 28 border-style: solid;
29 } 29 }
30 </style> 30 </style>
31 </head> 31 </head>
32 <body> 32 <body>
33 <div id="one">Hello</div> <div id="two">World</div> 33 <div id="one">Hello</div> <div id="two">World</div>
34 </body> 34 </body>
35 </html> 35 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698