| 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 #back { | 5 #back { |
| 6 width: 1000px; | 6 width: 1000px; |
| 7 height: 600px; | 7 height: 600px; |
| 8 background-color: green; | 8 background-color: green; |
| 9 } | 9 } |
| 10 #front { | 10 #front { |
| 11 width: 800px; | 11 width: 800px; |
| 12 height: 400px; | 12 height: 400px; |
| 13 background-color: red; | 13 background-color: red; |
| 14 border: 50px solid blue; | 14 border: 50px solid blue; |
| 15 padding: 50px; | 15 /* The padding and values differ here from the test case due |
| 16 to sub-pixel rounding differences in the way the background |
| 17 image phases are calculated in the repeat vs round cases. */ |
| 18 padding: 50px 49px; |
| 16 -webkit-mask-image: url(resources/circle.png); | 19 -webkit-mask-image: url(resources/circle.png); |
| 17 -webkit-mask-size: 73px 40px; | 20 -webkit-mask-size: 72px 40px; |
| 18 -webkit-mask-repeat: repeat; | 21 -webkit-mask-repeat: repeat; |
| 19 -webkit-mask-origin: content-box; | 22 -webkit-mask-origin: content-box; |
| 20 -webkit-mask-clip: content-box; | 23 -webkit-mask-clip: content-box; |
| 21 } | 24 } |
| 22 </style> | 25 </style> |
| 23 </head> | 26 </head> |
| 24 | 27 |
| 25 <body> | 28 <body> |
| 26 <div id="back"> | 29 <div id="back"> |
| 27 <div id="front" /> | 30 <div id="front" /> |
| 28 </div> | 31 </div> |
| 29 </body> | 32 </body> |
| 30 </html> | 33 </html> |
| 31 | 34 |
| OLD | NEW |