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

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

I think even then we shouldn't couple this as such side effects are often unexpected and would need to be configurable. At best we could consider some kind of toggle for this, but at that point it's probably better as a library feature or on top of adding default styles (whenever we added that).

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

Received on Saturday, 17 February 2018 16:42:00 UTC