Bug 81922
Summary: | DOMNodeRemoved events should be dispatched as early as possible during node removal | ||
---|---|---|---|
Product: | WebKit | Reporter: | Adam Klein <adamk> |
Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | rniwa |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Adam Klein
For example, ContainerNode currently calls document()->nodeWillBeRemoved() _before_ DOMNodeRemoved, allowing event listeners to see a tree containing a node that, as far as selection is concerned, is not in the document.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Ryosuke Niwa
Fixed in http://trac.webkit.org/changeset/115686.