[Webkit-unassigned] [Bug 68633] New: Optimize matching of common pseudo classes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 22 10:14:53 PDT 2011


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

           Summary: Optimize matching of common pseudo classes
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: koivisto at iki.fi


:link, :visited and :focus are quite common. They often used as univeral selectors (including in our default stylesheet) so we try to match them for all elements in the document. They take always the slow matching path. In addition we match link styles twice due to visited link pseudo style generation so the overhead is doubled. As a result substantial portion of our style matching time is spend dealing with these pseudo classes. We should optimize the common cases.

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