- From: Matthew Phillips <notifications@github.com>
- Date: Wed, 20 Sep 2017 15:17:23 +0000 (UTC)
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 20 September 2017 15:17:47 UTC
@tabatkins > > Does appendChild(document.createElement('shadow-root')) work? > No, this is a parse-time operation. Post-parsing, the shadowroot element is dead, identical to a plain template. If you have JS, just use attachShadow(). ^_^ So what *should* `appendChild(document.createElement("shadowroot"))` do? Throw? -- 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/510#issuecomment-330885122
Received on Wednesday, 20 September 2017 15:17:47 UTC