<!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> |