[Webkit-unassigned] [Bug 75295] New: SelectorChecker should have non side-effect mode.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 28 00:48:44 PST 2011


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

           Summary: SelectorChecker should have non side-effect mode.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: shinyak at chromium.org


SelectorChecker is also used for Node#querySelector. If query has some pseudo type like first-of-type, the style of the parent element may be modified like:
parentStyle->setChildrenAffectedByForwardPositionalRules();

This may affect performance, because DOM modification for children will cause extra style recalculation.

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