| OLD | NEW |
| 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 |
| OLD | NEW |