[w3c/webcomponents] [Idea] Distant ShadowDOM. (#576)

Currently, we can only distributed elements into a shadow root that is sibling to those elements. It'd be nice to be able to distribute elements into any shadow root, perhaps using an ID.

f.e.

```html
<div>
  <span root="root-containing-element" slot="some-slot"></span>
</div>
...
<div id="root-containing-element">
  #ShadowRoot
    <slot name="some-slot">
    </slot>
</div>
```

In that example, the `span` would be distributed into the shadow root of `#root-containing-element`.

The reason I would want this is because it solves the problems that are introduced by me having to workaround the [breaking changes](https://bugs.chromium.org/p/chromium/issues/detail?id=646993) of the css-transforms spec introduced in Chrome 53.

-- 
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/576

Received on Tuesday, 27 September 2016 01:53:10 UTC