- From: Ryosuke Niwa <notifications@github.com>
- Date: Wed, 23 Mar 2016 13:56:54 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Wednesday, 23 March 2016 20:57:26 UTC
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