Re: [webcomponents] Composition Algorithm shouldn't unwrap slots (#308)

Now there are three benefits to take this approach:

1. It reduces the *platform* magic involved in shadow DOM into smaller primitives that are more familiar to Web developers.
2. The concept of composed tree can be merged with the event path since they would become identical.
3. The semantics of `assignedSlot` and `getDistributedNodes()` become same. That is, `node.assignedNode === slot` if and only if `slot.getDistributedNodes().includes(node)`.


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

Received on Thursday, 17 September 2015 19:23:26 UTC