RESOLVED DUPLICATE of bug 3869 5367
appendChild() on images created with new Image() fails (Image != HTMLImageElementImpl)
https://bugs.webkit.org/show_bug.cgi?id=5367
Summary appendChild() on images created with new Image() fails (Image != HTMLImageEle...
Simon Willison
Reported 2005-10-13 09:28:36 PDT
Images created using new Image() that are appended to another node with appendChild throw a "DOM Exception 8", a.k.a. DOM_NOT_FOUND_ERR.
Attachments
Example HTML file demonstrating this bug. (1.12 KB, text/html)
2005-10-13 09:29 PDT, Simon Willison
no flags
Simon Willison
Comment 1 2005-10-13 09:29:40 PDT
Created attachment 4346 [details] Example HTML file demonstrating this bug.
Eric Seidel (no email)
Comment 2 2005-12-27 15:30:38 PST
This is due to "Image" not actually being an HTMLImageElementImpl. khtml (on the KDE side) has already moved away from this. We should do the same.
Maks Orlovich
Comment 3 2006-01-04 11:53:08 PST
Note that the patch I merged is actually from andersca, and you have that in your bugzilla (along with some more copies of this same bug)
Anders Carlsson
Comment 4 2006-01-16 15:25:57 PST
*** This bug has been marked as a duplicate of 3869 ***
Note You need to log in before you can comment on or make changes to this bug.