1 <!-- Based on fast/repaint/image-resize.html -->
3 <script src=
"resources/paint-invalidation-test.js"></script>
6 testRunner
.dumpAsText();
7 window
.expectedPaintInvalidationObjects
= [
8 "LayoutImage (positioned) IMG",
10 function paintInvalidationTest() {
11 var img
= document
.getElementsByTagName('img')[0];
12 img
.style
.width
= '100px';
13 img
.style
.height
= '200px';
15 onload
= runPaintInvalidationTest
;
26 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">