7 testRunner
.waitUntilDone();
10 function imageLoaded(image
)
13 image
.src
= "resources/square-blue-100x100.png";
15 } else if (window
.testRunner
)
16 testRunner
.notifyDone();
22 Test for
<i><a href=
"http://bugs.webkit.org/show_bug.cgi?id=9276">http://bugs.webkit.org/show_bug.cgi?id=
9276</a>
23 Quirksmode: Image swap resize bug
</i>.
26 This should be a blue
100×100 pixels square.
28 <img src=
"resources/rectangle-red-200x100.png" onload=
"imageLoaded(this)">