summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/multicol/multicol-becomes-regular-block.html
blob: 8fab3dc4a634781344800f36ce26d9d0f7afdba5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<script>
    onload = function() {
    var elm = document.getElementById('elm');
    elm.offsetTop; // trigger layout
    elm.style.WebkitColumns = 'auto';
    elm.style.columns = 'auto';
    }
</script>
<p>There should be a blue <em>square</em> below.</p>
<div id="elm" style="-webkit-columns:4; columns:4; orphans:1; widows:1; width:16em; line-height:4em; background:blue;">
    <br>
    <br>
    <br>
    <br>
</div>