Re: [w3c/webcomponents] Should custom elements be adoptable if so, how? (#512)

Key problem here is that when a custom element is adopted from one document to another document, there is no guarantee that the new owner document's global object defines the same custom element.

So changing the prototype internal slot of an adopted element raises a question as to which value we're changing it for custom elements.  And it doesn't seem plausible for a custom element to be completely broken as soon as it's adopted into a document.  Furthermore, doing so could result in an unexpected behavior of an element completely changing its interface and behavior if the new owner document's custom element definition didn't match that of the old owner document.

---
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/512#issuecomment-223503884

Received on Friday, 3 June 2016 06:48:47 UTC