| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>Check to disappear the afterimage after changing the style of an img tag.
</title> | 4 <title>Check to disappear the afterimage after changing the style of an img tag.
</title> |
| 5 <style type="text/css"> | 5 <style type="text/css"> |
| 6 div.cell | 6 div.cell |
| 7 { | 7 { |
| 8 -webkit-transform: translate3d(0, 0, 0); | 8 transform: translate3d(0, 0, 0); |
| 9 } | 9 } |
| 10 | 10 |
| 11 img | 11 img |
| 12 { | 12 { |
| 13 position: absolute; | 13 position: absolute; |
| 14 -webkit-transform: translate3d(0, 0, 0); | 14 transform: translate3d(0, 0, 0); |
| 15 } | 15 } |
| 16 | 16 |
| 17 div.magnify img | 17 div.magnify img |
| 18 { | 18 { |
| 19 -webkit-transform: scale(2.0); | 19 transform: scale(2.0); |
| 20 } | 20 } |
| 21 </style> | 21 </style> |
| 22 </head> | 22 </head> |
| 23 <body> | 23 <body> |
| 24 | 24 |
| 25 | 25 |
| 26 <div class="cell magnify" id="cell"> | 26 <div class="cell magnify" id="cell"> |
| 27 <img src="resources/simple_image.png"> | 27 <img src="resources/simple_image.png"> |
| 28 </div> | 28 </div> |
| 29 | 29 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 50 | 50 |
| 51 setTimeout(function() { | 51 setTimeout(function() { |
| 52 updateStack(); | 52 updateStack(); |
| 53 }, 200); | 53 }, 200); |
| 54 } | 54 } |
| 55 </script> | 55 </script> |
| 56 | 56 |
| 57 </body> | 57 </body> |
| 58 </html> | 58 </html> |
| 59 | 59 |
| OLD | NEW |