| OLD | NEW | 
|---|
| 1 <!-- Based on fast/repaint/image-resize.html --> | 1 <!-- Based on fast/repaint/image-resize.html --> | 
| 2 <!DOCTYPE html> | 2 <!DOCTYPE html> | 
| 3 <script src="resources/paint-invalidation-test.js"></script> | 3 <script src="resources/paint-invalidation-test.js"></script> | 
| 4 <script> | 4 <script> | 
| 5 if (window.testRunner) |  | 
| 6   testRunner.dumpAsText(); |  | 
| 7 window.expectedPaintInvalidationObjects = [ |  | 
| 8     "LayoutImage (positioned) IMG", |  | 
| 9 ]; |  | 
| 10 function paintInvalidationTest() { | 5 function paintInvalidationTest() { | 
| 11   var img = document.getElementsByTagName('img')[0]; | 6   var img = document.getElementsByTagName('img')[0]; | 
| 12   img.style.width = '100px'; | 7   img.style.width = '100px'; | 
| 13   img.style.height = '200px'; | 8   img.style.height = '200px'; | 
| 14 } | 9 } | 
| 15 onload = runPaintInvalidationTest; | 10 onload = runPaintInvalidationTest; | 
| 16 </script> | 11 </script> | 
| 17 <style> | 12 <style> | 
| 18 img { | 13 img { | 
| 19   position: absolute; | 14   position: absolute; | 
| 20   top: 50px; | 15   top: 50px; | 
| 21   left: 0px; | 16   left: 0px; | 
| 22   width: 150px; | 17   width: 150px; | 
| 23   height: 150px; | 18   height: 150px; | 
| 24 } | 19 } | 
| 25 </style> | 20 </style> | 
| 26 The image should be fully repainted on resize. Passes if there is a whole apple 
    after resize. | 21 The image should be fully repainted on resize. Passes if there is a whole apple 
    after resize. | 
| 27 <img src="../../../fast/repaint/resources/apple.jpg"> | 22 <img src="../../../fast/repaint/resources/apple.jpg"> | 
| OLD | NEW | 
|---|