RESOLVED WONTFIX Bug 59814
Reduce amount of tree traversal after DOM manipulation
https://bugs.webkit.org/show_bug.cgi?id=59814
Summary Reduce amount of tree traversal after DOM manipulation
Roland Steiner
Reported 2011-04-29 11:26:46 PDT
After an operation that manipulates the DOM (node insertion or removal), we traverse the affected subtree twice: Once for setTreeScope/DocumentRecursively, and once for insertedInto/removedFromDocument/Tree(). We should be able to combine the updates into a single traversal. Note that this applies to DOM manipulation outside of shadow DOM as well, but shadow DOM exacerbates the problem.
Attachments
Dominic Cooney
Comment 1 2011-11-15 17:21:10 PST
This will be too complicated because the insertedInto/removedFromDocument/Tree callbacks will need to deal with TreeScope state that is not globally consistent.
Note You need to log in before you can comment on or make changes to this bug.