Use testRunner instead of layoutTestController in fast/animation, autoresize, backgro...
[WebKit-https.git] / LayoutTests / fast / block / positioning / positioned-float-layout-after-image-load.html
1 <html>
2 <head>
3 <script>
4     if (window.testRunner) {
5         testRunner.dumpAsText();
6         testRunner.waitUntilDone();
7      }
8
9     //   https://bugs.webkit.org/show_bug.cgi?id=54611
10     //   When navigating to positioned-float-layout-after-image-load-2.html#anchor1 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 
12     //   positioned-float-layout-after-image-load-2.html#anchor1 if testing manually.
13
14     function test(){
15         setTimeout(location.assign("resources/positioned-float-layout-after-image-load-2.html#anchor1"),0);
16     }
17 </script>
18 </head>
19 <body onload="test();">
20 </body></html>
21