1 <!-- Based on fast/repaint/percent-size-image-resize-container.html -->
3 <script src=
"resources/paint-invalidation-test.js"></script>
6 testRunner
.dumpAsText();
8 window
.expectedPaintInvalidationObjects
= [
9 "LayoutBlockFlow (positioned) DIV",
10 "LayoutImage (positioned) IMG",
12 function paintInvalidationTest() {
13 var div
= document
.getElementsByTagName('div')[0];
14 div
.style
.width
= '100px';
15 div
.style
.height
= '200px';
17 onload
= runPaintInvalidationTest
;
33 The percent-sized image should be fully repainted on container's resize. Passes if there is a whole apple after resize.
35 <img src=
"../../../fast/repaint/resources/apple.jpg">