[Webkit-unassigned] [Bug 59814] New: Reduce amount of tree traversal after DOM manipulation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 29 11:26:46 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=59814

           Summary: Reduce amount of tree traversal after DOM manipulation
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rolandsteiner at chromium.org
                CC: dglazkov at chromium.org, dominicc at chromium.org,
                    morrita at google.com
            Blocks: 59802


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.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list