Re: [webcomponents] Extend the slotting algorithm so that a slot can select an element which doesn't have slot attribute. (#343)

I don't think using CSS selector is the way to go.  That would have the same problem where if you have an instance of custom element A that gets slotted to S, then an instance of a subclass of A would not be slotted the same way.  This was a big problem for Polymer and Component Kitchen.

I think selecting elements based on interface would be a better alternative.  That is, instead of selecting an element based on DOM state, we select based on the `[[Prototype]]` internal slot.  This allows every subclass of an element slotted to S would also be slotted. 

---
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/343#issuecomment-200540571

Received on Wednesday, 23 March 2016 20:57:26 UTC