summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/multicol/paged-becomes-multicol-fixed-height.html
blob: a0e6c8eee199fe5858c822815a5eea0ec9a271f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html>
<script>
    onload = function() {
        var elm = document.getElementById('elm');
        elm.offsetTop; // trigger layout
        elm.style.WebkitColumns = '4';
        elm.style.columns = '4';
        elm.style.overflow = 'visible';
    }
</script>
<p>You should see the word 'PASS' below.</p>
<div style="float:left;">
    <div id="elm" style="overflow:-webkit-paged-x; -webkit-column-gap:0; column-gap:0; orphans:1; widows:1; height:7em; line-height:4em;">
        P<br>
        A<br>
        S<br>
        S<br>
    </div>
</div>