• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<html>
2
3<head>
4<script type="text/javascript">
5
6function test()
7{
8    if (window.layoutTestController)
9        layoutTestController.dumpAsText();
10    var tr = document.getElementById('row');
11    tr.insertCell(0).innerHTML = "<td>cell inside table inside cell 0</td>";
12    tr.insertCell(1).innerHTML = "<td>cell inside table inside cell 1</td>";
13}
14
15</script>
16</head>
17
18<body onload="test()">
19
20<p>This tests a particular case of insertCell that was crashing on ebay at the time the test was written.</p>
21
22<p><table><tr id="row"></tr></table></p>
23
24<p>If there was no crash, and you can see text above mentioning cell 1 as well as cell 0, the test passed.</p>
25
26</body>
27
28</html>
29