summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/repaint/float-move-during-layout.html
blob: e04b3e76783a98578fa3728105a94d0eb2a749cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<HTML>
    <HEAD>
        <TITLE></TITLE>
        <script src="resources/text-based-repaint.js" type="text/javascript"></script>
        <script type="text/javascript">
           function repaintTest()
           {
                document.getElementById('t').style.height = '100px';
           }
        </script>
    </HEAD>
    <BODY onload="runRepaintTest();">
       <p>
           This is a repaint test for <i><a href="https://bugs.webkit.org/show_bug.cgi?id=7204">http://bugzilla.opendarwin.org/show_bug.cgi?id=7204</a>
           float inserted in fixed height block via DOM not repainted</i>.
       </p>
       <p>
           There should be a green square below.
       </p>
       <hr>
        <div id="t"></div>
        <div id="s">
            <div style="float:left; background: green; width: 100px; height: 100px;"></div>
        </div>
    </BODY>
</HTML>