| OLD | NEW |
| (Empty) |
| 1 <!DOCTYPE html> | |
| 2 <html lang="en"> | |
| 3 <head> | |
| 4 <style> | |
| 5 #back { | |
| 6 width: 1000px; | |
| 7 height: 600px; | |
| 8 background-color: green; | |
| 9 } | |
| 10 #front { | |
| 11 width: 800px; | |
| 12 height: 400px; | |
| 13 background-color: red; | |
| 14 border: 50px solid blue; | |
| 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; | |
| 19 -webkit-mask-image: url(resources/circle.png); | |
| 20 -webkit-mask-size: 72px 40px; | |
| 21 -webkit-mask-repeat: repeat; | |
| 22 -webkit-mask-origin: content-box; | |
| 23 -webkit-mask-clip: content-box; | |
| 24 } | |
| 25 </style> | |
| 26 </head> | |
| 27 | |
| 28 <body> | |
| 29 <div id="back"> | |
| 30 <div id="front" /> | |
| 31 </div> | |
| 32 </body> | |
| 33 </html> | |
| 34 | |
| OLD | NEW |