[Webkit-unassigned] [Bug 62261] New: Pseudo-element selectors may defeat CSS selection restriction for nested components
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jun 7 19:44:42 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=62261
Summary: Pseudo-element selectors may defeat CSS selection
restriction for nested components
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: rolandsteiner at chromium.org
CC: dglazkov at chromium.org, dominicc at chromium.org,
hayato at chromium.org, morrita at google.com
Blocks: 59827
Follow-up to bug 52917: With the current implementation, style bleeds may still happen on components within components. In such a case the accessor check for the nested component can be circumvented by a shadow pseudo-element selector for the outer component. For example:
Assume you have a media control panel component that defines a container for button controls. This container is given a pseudo-ID "panel", e.g., to allow styling its background. The container also has one or more children of its own for the individual buttons, which are defined as separate components.
In this case, a selector such as "::panel *" would bleed into the buttons, even if they are set to not allow selectors through. That check would be circumvented by the presence of the "::panel" pseudo-element selector, even though this is meant for the outer component.
--
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