<!DOCTYPE html>
<html>
    <head>
        <title>Insert child into empty spanner</title>
        <script>
            function test() {
                var elm = document.getElementById('elm');
                document.body.offsetTop; // trigger layout
                elm.style.display = 'block';
            }
        </script>
    </head>
    <body onload="test()">
        <p>You should see the word "PASS" below.</p>
        <div style="-webkit-columns:5; columns:5; column-gap:0; -webkit-column-gap:0; orphans:1; widows:1;">
            <div style="-webkit-column-span:all; column-span:all;"><div id="elm" style="display:none;">PASS</div></div>
        </div>
    </body>
</html>
