A cloned table row (<tr>) stops being a table row element in IE

If you clone a table row element (tr) by means of cloneNode()in IE it loses its table row "identity". This means that with the cloned row cells[], for instance, is no longer available.

Test page Workaround is not included
Reported by: Rein Groot.

Explorer 5-6 Windows, Explorer 7 | Reported on 20 December 2006.

This site is no longer maintained. I’m sorry, but it’s just too much work for too little return. You can continue to browse old bug reports, though.




Search reports by browser:

Atom RSS

Comments

(Add your own)

1 Posted by Jehiah on 20 December 2006 | Permalink

funny I thought I submitted a bug report for this over a year ago. my bad.

http://jehiah.cz/archive/rows-and-cells-in-ie-when-using-clonenode

The workaround is to add the tr back to the DOM (aka append to a tbody) so it has the .cells[] attribute.