Closed
      
        Bug 1117572
      
      
        Opened 10 years ago
          Closed 7 years ago
      
        
    
  
Implement >>> Selecting Through Shadows Selector for access into shadow root
Categories
(Core :: CSS Parsing and Computation, enhancement)
        Core
          
        
        
      
        
    
        CSS Parsing and Computation
          
        
        
      
        
    Tracking
()
        RESOLVED
        WONTFIX
        
    
  
People
(Reporter: mail, Unassigned)
References
(Blocks 1 open bug)
Details
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
| Updated•10 years ago
           | 
| Updated•9 years ago
           | 
Blocks: webcomponents
| Updated•9 years ago
           | 
Severity: normal → enhancement
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Mac OS X → All
Hardware: x86 → All
Version: 37 Branch → unspecified
| Comment 1•9 years ago
           | ||
We should not implement this until there's agreement that this is actually desired. See https://github.com/w3c/webcomponents/issues/78.
| Updated•9 years ago
           | 
See Also:  → https://github.com/w3c/webcomponents/issues/78
| Updated•9 years ago
           | 
Keywords: dev-doc-needed
| Comment 2•8 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
| Comment 3•7 years ago
           | ||
Thomas, as per comment 1 I don't think we should implement this. There's no agreement on this feature.
| Comment 4•7 years ago
           | ||
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).
| Comment 5•7 years ago
           | ||
Based on the current state of the spec issues -> WONTFIX.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
|   | ||
| Updated•7 years ago
           | 
Keywords: dev-doc-needed
          You need to log in
          before you can comment on or make changes to this bug.
        
Description
•