[Webkit-unassigned] [Bug 107496] New: [Refactoring] Remove elementParentStyle from SelectorCheckerContext
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jan 21 20:02:52 PST 2013
https://bugs.webkit.org/show_bug.cgi?id=107496
Summary: [Refactoring] Remove elementParentStyle from
SelectorCheckerContext
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: tasak at google.com
Currently elementParentStyle is not used in SelectorChecker and StyleResolver.
A parent style was used to cache whether a child of the parent node matches some n-th, first-child, last-child selector. The information was used to check whether a given element can share its sibling element's style or not.
However, now the information is stored in a parent element, not style. So we don't need to provide elementParentStyle for SelectorChecker.
(c.f. StyleResolver::parentElementPreventsSharing)
--
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