Bug 81922 - DOMNodeRemoved events should be dispatched as early as possible during node removal
Summary: DOMNodeRemoved events should be dispatched as early as possible during node r...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-22 09:01 PDT by Adam Klein
Modified: 2012-04-30 16:08 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Klein 2012-03-22 09:01:54 PDT
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.
Comment 1 Ryosuke Niwa 2012-04-30 16:08:44 PDT
Fixed in http://trac.webkit.org/changeset/115686.