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