[Webkit-unassigned] [Bug 49876] New: Optimize matching of descendant selectors

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Nov 20 21:20:46 PST 2010


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

           Summary: Optimize matching of descendant selectors
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: simon.fraser at apple.com
                CC: hyatt at apple.com


Pages with selectors like:
.foo .bar *
can spend a lot of time in style resolution, because these types of selectors require walking back up the tree when matching every node.

A possible optimization here would be to keep track of which parts of the selectors have been matched while walking down the tree in recalcStyle.

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