summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/block/positioning/positioned-float-layout-after-image-load.html
blob: f04a4b5c5b86ab481de7e3ac590b0eeb3b109558 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<html>
<head>
<script>
    if (window.testRunner) {
        testRunner.dumpAsText();
        testRunner.waitUntilDone();
     }

    //   https://bugs.webkit.org/show_bug.cgi?id=54611
    //   When navigating to positioned-float-layout-after-image-load-2.html#anchor1 directly, the anchor should be positioned below 
    //   the image on first load. The test is sensitive to caching of the image, so you should reload 
    //   positioned-float-layout-after-image-load-2.html#anchor1 if testing manually.

    function test(){
        setTimeout(location.assign("resources/positioned-float-layout-after-image-load-2.html#anchor1"),0);
    }
</script>
</head>
<body onload="test();">
</body></html>