Git init
[framework/web/webkit-efl.git] / LayoutTests / fast / replaced / image-resize-width.html
1 <html>
2 <head>
3     <script>
4         var swapped = false;
5     
6         if (window.layoutTestController)
7             layoutTestController.waitUntilDone();
8     
9     
10         function imageLoaded(image)
11         {
12             if (!swapped) {
13                 image.src = "resources/square-blue-100x100.png";
14                 swapped = true;
15             } else if (window.layoutTestController)
16                 layoutTestController.notifyDone();
17         }
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>