Re: [webcomponents] Custom elements disconnected from a document should not be upgraded (#419)

Since the most common use case of shadow DOM is in conjunction with custom elements so it should work best in that case.

Now, I don't think we can check whether the newly created element has shadow DOM or not because we're going to upgrade those elements right before returning to author scripts.  If anything, it needs to be keyed off of element names (i.e. whether the cloned node's name has `-` in it or not).

---
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/419#issuecomment-197381645

Received on Wednesday, 16 March 2016 15:26:13 UTC