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