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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/borders/border-image-width-rounding.html

Issue 2566593002: Change handling of sub-pixel borders to round
Patch Set: Change border images to round edges Created 4 years 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/sub-pixel/scaled-background-image-expected.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>Test non-integer border-image-width</title> 4 <title>Test non-integer border-image-width</title>
5 <style> 5 <style>
6 .test { 6 .test {
7 border-style: solid; 7 border-style: solid;
8 border-width: 1px; 8 border-width: 1.9px;
9 border-image-width: 1.9; 9 border-image-width: 1.9px;
10 border-image-source: linear-gradient(to bottom, green, green); 10 border-image-source: linear-gradient(to bottom, green, green);
11 border-image-slice: 10; 11 border-image-slice: 10;
12 width: 100px; 12 width: 100px;
13 height: 100px; 13 height: 100px;
14 } 14 }
15 </style> 15 </style>
16 </head> 16 </head>
17 <body> 17 <body>
18 <p> 18 <p>
19 Test that border-image-width is rounded/truncated in the same 19 Test that border-image-width is rounded/truncated in the same
20 way as border-width. There should be a green border around a 20 way as border-width. There should be a green border around a
21 100x100 square below. 21 100x100 square below.
22 </p> 22 </p>
23 <div class="test"></div> 23 <div class="test"></div>
24 </body> 24 </body>
25 </html> 25 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/sub-pixel/scaled-background-image-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698