Re: [webcomponents] Define the behavior when a custom element constructor returns an element with a parent node. (#412)

I don't think we need to do anything in the upgrade case because if the element had been re-parented to somewhere else, there is no way for us to fix it.  `IsSameValue` check is probably sufficient in that case.

For HTML parser, though, we need to be even more careful.  e.g. what happens if the constructor returned an element with non-zero attributes?  Or an element with a wrong prefix in its qualified name?  Or it returned an element with a child?

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

Received on Tuesday, 8 March 2016 06:26:48 UTC