Re: [w3c/webcomponents] No point in having closed/open shadow dom creation if we cant use closed? (#859)

> ?? You can continue to make changes to `ShadowRoot` if you have a reference to it.
> 
> ```js
> const host = document.createElement('div');
> document.body.appendChild(host);
> const shadowRoot = host.attachShadow({mode: 'closed'});
> shadowRoot.innerHTML = '<p>hello, world</p>';
> host.shadowRoot // This returns null.
> ```

Yeah I just noticed that.. Im a dumb dumb...

-- 
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/859#issuecomment-565674602

Received on Saturday, 14 December 2019 02:52:10 UTC