[Webkit-unassigned] [Bug 77502] New: Optimize owner form lookup

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 31 19:45:34 PST 2012


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

           Summary: Optimize owner form lookup
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Forms
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: tkent at chromium.org
                CC: dglazkov at chromium.org, morrita at google.com,
                    yosin at chromium.org
            Blocks: 58837


We use HTMLElement::findFormAncestor() to find an owner <form> when we insert a form control to a tree. findFormAncestor() iterates over ancestor nodes until it finds a <form>. So, if the tree doesn't contain no <form> elements, inserting a form control is O(depth).

-- 
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