Re: [whatwg/dom] Declarative Shadow DOM (#510)

@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