<!DOCTYPE html>
<script>
    if (window.testRunner)
        testRunner.dumpAsText();
    onload = function() {
        document.body.offsetTop;
        document.getElementById('child').style.display = 'none';
        document.getElementById('mc').style.width = '90%';
    }
</script>
<p>Make a multicol container childless. Then change its width to trigger layout of all children. PASS if no crash.</p>
<div id="mc" style="-webkit-columns:3;">
    <div id="child">Test failed!</div>
</div>
