Implement >>> Selecting Through Shadows Selector for access into shadow root

RESOLVED WONTFIX

Status

()

--
enhancement
RESOLVED WONTFIX
4 years ago
10 months ago

People

(Reporter: mail, Unassigned)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

4 years ago
The "selecting through shadows selector" (also referred to "shadow-piercing descendant combinator") allows selecting elements within regardless of them being in a ShadowRoot or nested ShadowRoot or not. It is somewhat similar to ::shadow [1].

Note: The ">>>" selector used to be called "/deep/" (and is currently implemented in Chrome as "/deep/".

Link to specification for reference: http://dev.w3.org/csswg/css-scoping-1/#deep-combinator

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1112251
Component: Untriaged → CSS Parsing and Computation
Product: Firefox → Core
See Also: → bug 1112251
Blocks: 811542
Severity: normal → enhancement
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Mac OS X → All
Hardware: x86 → All
Version: 37 Branch → unspecified

Comment 1

3 years ago
We should not implement this until there's agreement that this is actually desired. See https://github.com/w3c/webcomponents/issues/78.
Keywords: dev-doc-needed

Comment 2

2 years ago
It seems that Chrome 60 will be treating the >>> combinator as the descendant combinator, so perhaps it would be wise to simply follow suit?

https://developers.google.com/web/updates/2017/06/chrome-60-deprecations#make_shadow-piercing_descendant_combinator_behave_like_descendent_combinator

Updated

a year ago
Blocks: 1439153

Comment 3

a year ago
Thomas, as per comment 1 I don't think we should implement this. There's no agreement on this feature.
I agree, but we may wish to wait and see if we need to support it as a descendant combinator as Chrome does per comment 2 (for the sake of webcompat).

Updated

a year ago
Depends on: 1441136
No longer depends on: 1441136

Comment 5

11 months ago
Based on the current state of the spec issues -> WONTFIX.
Status: NEW → RESOLVED
Last Resolved: 11 months ago
Resolution: --- → WONTFIX
Keywords: dev-doc-needed
You need to log in before you can comment on or make changes to this bug.