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

Side by Side Diff: third_party/WebKit/LayoutTests/css3/background/background-repeat-round-content-expected.html

Issue 1456813002: Calculate Background Image Geometries using sub-pixel values (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: MOAR expectations Created 5 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html lang="en"> 2 <html lang="en">
3 <head> 3 <head>
4 <style> 4 <style>
5 div 5 div
6 { 6 {
7 width: 800px; 7 width: 802px;
8 height: 400px; 8 height: 400px;
9 padding: 50px; 9 /* The padding and width values differ here from the test case
10 due to sub-pixel rounding differences in the way the background
11 image phases are calculated in the repeat vs round cases. */
12 padding: 50px 49px;
10 border: 50px solid transparent; 13 border: 50px solid transparent;
11 background-image: url(resources/circle.png); 14 background-image: url(resources/circle.png);
12 background-size: 73px 40px; 15 background-size: 72px 40px;
13 background-repeat: repeat; 16 background-repeat: repeat;
14 background-origin: content-box; 17 background-origin: content-box;
15 background-clip: content-box; 18 background-clip: content-box;
16 } 19 }
17 </style> 20 </style>
18 </head> 21 </head>
19 22
20 <body> 23 <body>
21 <div/> 24 <div/>
22 </body> 25 </body>
23 26
24 </html> 27 </html>
25 28
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698