RESOLVED FIXED 6778
Crash if a node is removed from the DOM before being reparented due to residual style
https://bugs.webkit.org/show_bug.cgi?id=6778
Summary Crash if a node is removed from the DOM before being reparented due to residu...
Ian 'Hixie' Hickson
Reported 2006-01-24 16:29:09 PST
The immortal words: <hyatt> i don't see why we would have any trouble with that <hyatt> the parser can deal with elements getting yanked away by script
Attachments
a simple fix (1.59 KB, patch)
2006-01-24 17:27 PST, Maciej Stachowiak
hyatt: review+
Maciej Stachowiak
Comment 1 2006-01-24 17:27:36 PST
Created attachment 5932 [details] a simple fix This fix will avoid the crash from trying to remove a node from a null parent, but in the case where the block has been detached by script, it will also skip reattaching it in its new location.
Darin Adler
Comment 2 2006-01-24 18:14:52 PST
Comment on attachment 5932 [details] a simple fix Needs test case and change log.
Dave Hyatt
Comment 3 2006-01-24 18:51:52 PST
Comment on attachment 5932 [details] a simple fix r=me, add a comment above the decl of blockStillInTree that explains what it is and why it is needed.
Note You need to log in before you can comment on or make changes to this bug.