- From: Jake Archibald <notifications@github.com>
- Date: Thu, 07 Feb 2019 07:00:11 -0800
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 7 February 2019 15:00:34 UTC
```js document.body.append( iframe.contentDocument.createElement('p'), ); ``` Will the paragraph have a prototype from the parent or the iframe? Test: https://static-misc.glitch.me/custom-element-adoption-test/ (see console). Chrome/Safari leave the prototype as it is. Firefox/Edge change the prototype to one from the parent page. Chrome/Safari/Edge change the prototype if the element is a custom element. I assume this is standard, but I haven't yet found it in the spec. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/731
Received on Thursday, 7 February 2019 15:00:34 UTC