Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / replaced / image-resize-width.html
blob5199bfec08865a87d1a0b711d0a18ecf1a4987bc
1 <html>
2 <head>
3 <script>
4 var swapped = false;
6 if (window.testRunner)
7 testRunner.waitUntilDone();
10 function imageLoaded(image)
12 if (!swapped) {
13 image.src = "resources/square-blue-100x100.png";
14 swapped = true;
15 } else if (window.testRunner)
16 testRunner.notifyDone();
18 </script>
19 </head>
20 <body>
21 <p>
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>.
24 </p>
25 <p>
26 This should be a blue 100&times;100 pixels square.
27 </p>
28 <img src="resources/rectangle-red-200x100.png" onload="imageLoaded(this)">
29 </body>
30 </html>