Re: [w3c/webcomponents] Make custom elements w/ shadowRoot { display: contents } by default (#723)

Right now, there is no way to create a shadow root automatically via `customElements.define`.

We certainly can't change the behavior of `attachShadow`'s behavior on custom elements at this point since we've been shipping shadow DOM for two years and custom elements for one year.

So I think this is a consideration for the future when we add a mechanism to automatically attach a shadow root when upgrading/instantiating a custom element.

-- 
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/723#issuecomment-356130661

Received on Monday, 8 January 2018 23:34:12 UTC