blob: 5199bfec08865a87d1a0b711d0a18ecf1a4987bc [file] [log] [blame]
<html>
<head>
<script>
var swapped = false;
if (window.testRunner)
testRunner.waitUntilDone();
function imageLoaded(image)
{
if (!swapped) {
image.src = "resources/square-blue-100x100.png";
swapped = true;
} else if (window.testRunner)
testRunner.notifyDone();
}
</script>
</head>
<body>
<p>
Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=9276">http://bugs.webkit.org/show_bug.cgi?id=9276</a>
Quirksmode: Image swap resize bug</i>.
</p>
<p>
This should be a blue 100&times;100 pixels square.
</p>
<img src="resources/rectangle-red-200x100.png" onload="imageLoaded(this)">
</body>
</html>