[w3c/webcomponents] ::slotted() shoud full support complex selector!! (#745)

i wrote a [demo](https://codepen.io/minzojian/pen/MVgxgj) here

for a better to SEO,we need support a clear dom structure in html, eg. there is a navbar component,and i add some links inside,and planning to inject them into a navbar component.

```
  <my-navbar>
    <ul>
      <li>link1</li>
      <li>link2</li>
      <li>link3</li>
      </ul>
  </my-navbar>

```
however when i try to add some style for the <li> tag inside my navbar, it just not work
i found a [explanation](https://github.com/w3c/webcomponents/issues/331) that slotted is just use simple selector 
i wonder why the ::slotted selector can't support the complex selector (or child selector)? 
::slotted() shoud full support complex  selector!!
it just lame if not support!!


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/745

Received on Thursday, 8 March 2018 10:51:11 UTC