Re: [csswg-drafts] Limitations on host context selection

What about introducing `:parent-context(<compound-selector>)`? Unlike `:host-context(<compound-selector>)`, which matches the host if a parent element matches `<compound-selector>`, `:parent-context` only matches a parent element.
``` css
:parent-context(.ui-light) :host(.on) { ... }
```

-- 
GitHub Notification of comment by jolleekin
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1164#issuecomment-299705480 using your GitHub account

Received on Sunday, 7 May 2017 13:11:25 UTC