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

> I just want the host custom element to simply act as a shell for the contents without having its own box model
@ndugger: Is the "I" in that sentence the custom element author, or the custom element consumer, who should decide whether the custom element should simply act as a shell without its own box model? My first hunch is that it should be a characteristic of the custom element itself, meaning decided by the element author, not the element consumer. In which case, can't that be done via the `:host` CSS selector (e.g., `:host {display: contents}`)? What would you see as the reason to making it the default behavior rather than an opt-in via that one line of CSS?

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

Received on Wednesday, 17 January 2018 23:16:16 UTC