<html>
<script>
if (window.testRunner)
    testRunner.dumpAsText();
</script>
<table>
    <tbody>
        <td style="counter-increment: list-item"></td>
    </tbody>
    <ol><ol>
    </ol></ol>
    <td>PASS: Reparenting nodes outside of table body does not trigger crash.</td>
    <li></li>
</table>
<table>
    <td style="counter-increment: list-item"></td>
</table>
</html>