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.
```



-- 
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-565289525

Received on Friday, 13 December 2019 03:51:30 UTC