| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script> | 3 <script> |
| 4 if (window.layoutTestController) { | 4 if (window.layoutTestController) { |
| 5 layoutTestController.dumpAsText(); | 5 layoutTestController.dumpAsText(); |
| 6 layoutTestController.waitUntilDone(); | 6 layoutTestController.waitUntilDone(); |
| 7 } | 7 } |
| 8 | 8 |
| 9 // https://bugs.webkit.org/show_bug.cgi?id=54611 | 9 // https://bugs.webkit.org/show_bug.cgi?id=54611 |
| 10 // When navigating to positioned-float-layout-after-image-load-2.html#anch
or1 directly, the anchor should be positioned below | 10 // When navigating to positioned-float-layout-after-image-load-2.html#anch
or1 directly, the anchor should be positioned below |
| 11 // the image on first load. The test is sensitive to caching of the image,
so you should reload | 11 // the image on first load. The test is sensitive to caching of the image,
so you should reload |
| 12 // positioned-float-layout-after-image-load-2.html#anchor1 if testing manu
ally. | 12 // positioned-float-layout-after-image-load-2.html#anchor1 if testing manu
ally. |
| 13 | 13 |
| 14 function test(){ | 14 function test(){ |
| 15 setTimeout(location.assign("resources/positioned-float-layout-after-imag
e-load-2.html#anchor1"),0); | 15 setTimeout(location.assign("resources/positioned-float-layout-after-imag
e-load-2.html#anchor1"),0); |
| 16 } | 16 } |
| 17 </script> | 17 </script> |
| 18 </head> | 18 </head> |
| 19 <body onload="test();"> | 19 <body onload="test();"> |
| 20 </body></html> | 20 </body></html> |
| 21 | 21 |
| OLD | NEW |