See the URL for full details on this problem. Essential a DOM create table contains two rows each with a single TD column containging a DOM created IMG tag with a DOM specified .width and .height When the functions removeChild() and insertBefore() are used on a row withing this table, the IMG attributes for .width and .height are being reset to image defaults by Mozilla. This behavior is not present in IE.
See it on Linux 2002072204; OS/Plat -> All
confirmed. The cool part is that if you load the page, right click the image, select "view image", then click back then the testcase suddenly works...
I'd like to point out that it works fine if you use the 'style' width and height attributes instead of the IMG tag's attributes. See: http://www.cosmicrealms.com/MozillaBugTestTwo.html That code uses tImg.style.width instead of tImg.width and works okay.
changing status to new
Hmm... This should work now, but the testcase is gone. I should have attached it to the bug, back then. :( Robert, do you still have a page that runs into this problem?
Should be fixed indeed.