Re: [webcomponents] How the current model and the v1 model should interact? (#130)

For clarification, the main concern is about *re-distribution*.

Suppose that there is an existing `v0-component` that selects nodes by `<content>`:

```html
<v0-component>'s shadow tree:
  ....
  <content select="xxx"></content>
  ...
```

If another developer want to create `v1-component` that uses `v0-component`, as a third party library, by a *composition*:

```html
<link rel=import href="third_party/v0-component.html'>

<v1-component>'s shadow tree:
  <slot name="aaa"></slot>
  <v0-component>
    <slot name="bbb"></slot>  # I want to pass nodes to v0-component, via *redistribution*.
  </v0-component>
```

`v1-component` is used as usual as follows:

```html
<html>
   ...
   <link rel=import href="v1-component.html">
   ...
   <v1-component>
     <div slot=aaa>...</div>
     <xxx slot=bbb>...</div>
  </v1-component>
</html>
````     

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/130#issuecomment-140041603

Received on Monday, 14 September 2015 11:12:04 UTC