- From: Giovanni Lovato <notifications@github.com>
- Date: Fri, 10 Nov 2017 08:36:28 +0000 (UTC)
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 10 November 2017 08:36:55 UTC
Having slots as HTML element prevents styling empty containers, e.g. ```html <my-layout-component> <slot name="foo"></slot> </my-layout-component> ``` Say I need to hide `my-layout-component` if empty, this won't work: ```css my-layout-component:empty { display: none; } ``` because there's the `slot`, event if it's empty. -- 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/589#issuecomment-343410633
Received on Friday, 10 November 2017 08:36:55 UTC