If you append an existing table row to the end of its table, it should just move to the end of the table. However, Internet Explorer 5 for Mac OS 9 and Mac OS X will crash (hang up).
Mac OS 9 users, before you run the test, make note that to kill the task, you should press Option+Command+Escape. Mac OS X users, right click on the Explorer icon in your Dock.
This is the first table row |
This is the second table row |
Run the test (the rows should swap places each time you run the test).
Workaround: In theory you should be able to use insertBefore with the second parameter being undefined. However, IE 5 Mac will produce a script error instead. So the workaround is a bit more complicated:
This problem has not been reported to Microsoft, because this browser is no longer being developed, so they would not fix it anyway.