Summary: | Crash if a node is removed from the DOM before being reparented due to residual style | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Ian 'Hixie' Hickson <ian> | ||||
Component: | DOM | Assignee: | Maciej Stachowiak <mjs> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | gavin.sharp, maksim | ||||
Priority: | P2 | ||||||
Version: | 420+ | ||||||
Hardware: | PC | ||||||
OS: | Linux | ||||||
URL: | http://www.hixie.ch/tests/adhoc/html/parsing/error-handling/031-demo.html | ||||||
Attachments: |
|
Description
Ian 'Hixie' Hickson
2006-01-24 16:29:09 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.
Comment on attachment 5932 [details]
a simple fix
Needs test case and change log.
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.
|