summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/dynamic/float-in-trailing-whitespace-after-last-line-break.html
blob: 9b9cafbbf2ffa582492fc060b935c72043df1354 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<p>
    Test for <i><a href="https://bugs.webkit.org/show_bug.cgi?id=19278">https://bugs.webkit.org/show_bug.cgi?id=19278</a>
    REGRESSION (r31114-r31132): image float disappears on refresh</i>.
</p>
<div id="target">
    Somewhere on this page, there should be<br><br>
    <div style="float: left; width: 100px; height: 100px; background-color: green;"></div>
    <div style="width: 150px;">a green square.</div>
</div>
<script>
    test = function()
    {
        document.body.offsetTop;
        document.getElementById("target").style.marginTop = "16px";
    }
    test();
</script>