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

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

Issue 1780893004: Adjust the rounding methodology for tiled background phase (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed bad comment Created 4 years, 9 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 lang="en"> 2 <html lang="en">
3 <head> 3 <head>
4 <style> 4 <style>
5 div 5 div
6 { 6 {
7 width: 802px; 7 width: 800px;
8 height: 400px; 8 height: 400px;
9 /* The padding and width values differ here from the test case 9 padding: 50px 50px;
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;
13 border: 50px solid transparent; 10 border: 50px solid transparent;
14 background-image: url(resources/circle.png); 11 background-image: url(resources/circle.png);
15 background-size: 72px 40px; 12 background-size: 72px 40px;
16 background-repeat: repeat; 13 background-repeat: repeat;
17 background-origin: content-box; 14 background-origin: content-box;
18 background-clip: content-box; 15 background-clip: content-box;
19 } 16 }
20 </style> 17 </style>
21 </head> 18 </head>
22 19
23 <body> 20 <body>
24 <div/> 21 <div/>
25 </body> 22 </body>
26 23
27 </html> 24 </html>
28 25
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698