<!DOCTYPE html>
<html>
<head>
<style>
#test1 { -webkit-column-count: 2; }
#test4 { -webkit-column-span: all; }
</style>
<script>
if (window.testRunner)
testRunner.dumpAsText();
window.onload = function() {
test1 = document.createElement('div');
test1.setAttribute('id', 'test1');
document.body.appendChild(test1);
test2 = document.createElement('div');
test3 = document.createElement('div');
test1.appendChild(test2);
test1.appendChild(test3);
test4 = document.createElement('div');
test4.setAttribute('id', 'test4');
test1.appendChild(test4);
test4.style.display = 'table-footer-group';
document.body.offsetTop
test3.style.display = 'table-row';
document.body.offsetTop;
test3.style.display = 'table-column-group';
document.body.offsetTop;
test3.style.display = 'table-row';
document.body.offsetTop;
test2.style.display = 'inline';
}
</script>
</head>
<body>
Test passes if it does not crash.
</body>
</html>