summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/repaint/multicol-with-abspos.html
blob: 84511c41739f711b5b059827eeb9c4b9d4af312c (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
<!DOCTYPE html>
<script src="resources/text-based-repaint.js"></script>
<script>
    if (window.internals)
        onload = runRepaintTest;
    else
        onclick = repaintTest;
    function repaintTest() {
        var target = document.getElementById('target');
        target.style.visibility = 'visible';
    }
</script>
<p>A green rectangle should be seen below (if tested manually, you need to click first).</p>
<div style="-webkit-columns:4; -webkit-column-gap:10px; column-fill:auto; width:630px; height:40px; font:20px/1 ahem; color:green;">
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <!-- This absolutely positioned box is not part of the flow thread, since the nearest
         non-statically positioned box is further up than that. -->
    <div id="target" style="position:absolute; left:0; bottom:0; visibility:hidden;">PASS</div>
</div>