<!DOCTYPE html>
<p>Test for bug <a href="http://webkit.org/b/87314">87314</a>: Crash in LayoutTableCol::nextColumn</p>
<table>
<colgroup>
</colgroup>
<tbody>
<td></td>
</tbody>
</table>
<script>
if (window.testRunner)
testRunner.dumpAsText();
var colgroup = document.createElement("colgroup");
document.getElementsByTagName("colgroup")[0].appendChild(colgroup);
document.body.offsetTop;
document.body.appendChild(document.createTextNode("PASSED, this test didn't crash or ASSERT."));
</script>