<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Insert first child into 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:3; columns:3;"> | |
<div style="-webkit-column-span:all; column-span:all;"><div id="elm" style="display:none; float:left;">PA</div>SS</div> | |
</div> | |
</body> | |
</html> |