blob: f12f33a1a4490279b25af11fa88ba7e6ae328e50 [file] [log] [blame]
<!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>