[Webkit-unassigned] [Bug 55573] New: Selector usage flags should not be set by the CSS parser

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 2 05:42:06 PST 2011


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

           Summary: Selector usage flags should not be set by the CSS
                    parser
           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: koivisto at iki.fi


Currently flags like Document::usesSiblingRules() are set directly by the CSS parser. This is wrong as we may parse stylesheets that are not actually used for document rendering. This is especially bad when the page uses querySelectorAll(). As a result we may end up in various performance penalty boxes triggered by complex selectors for no good reason.

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