- From: Anne van Kesteren <notifications@github.com>
- Date: Tue, 20 Feb 2018 14:01:11 +0000 (UTC)
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 20 February 2018 14:01:39 UTC
I also tested custom elements: ```html <script> customElements.define("ce-1", class CE1 extends HTMLElement { constructor() { super(); } connectedCallback() { console.log("ce-1 connected"); } }); const df = document.createDocumentFragment(), s = df.appendChild(document.createElement("script")), ce1 = df.appendChild(document.createElement("ce-1")); s.textContent = "df.appendChild(ce1);"; document.head.appendChild(df); </script> ``` This logs "ce-1 connected" in Chrome and Firefox. It doesn't log anything in Safari. I'm inclined to side with Chrome and Firefox here. -- 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/575#issuecomment-366985902
Received on Tuesday, 20 February 2018 14:01:39 UTC