<html>

<head>
<script type="text/javascript">

function test()
{
    if (window.testRunner)
        testRunner.dumpAsText();
    var tr = document.getElementById('row');
    tr.insertCell(0).innerHTML = "<td>cell inside table inside cell 0</td>";
    tr.insertCell(1).innerHTML = "<td>cell inside table inside cell 1</td>";
}

</script>
</head>

<body onload="test()">

<p>This tests a particular case of insertCell that was crashing on ebay at the time the test was written.</p>

<p><table><tr id="row"></tr></table></p>

<p>If there was no crash, and you can see text above mentioning cell 1 as well as cell 0, the test passed.</p>

</body>

</html>
