Re: [w3c/webcomponents] Having slots as element prevents styling empty containers (#701)

@annevk : That could be exposed as a pseudo class on a slot, right? e.g. `:empty`. Once we have that, `my-layout-component:empty-excluding(slot:empty)` would do where `:empty-excluding` is the generic empty pseudo class I'm talking about here.

Note that `:empty-excluding` would be an expensive pseudo class to add (special purpose pseudo class that only works for slot has the same performance problem) so I'm not certain CSS WG would be willing to add such a thing.

-- 
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/701#issuecomment-368356011

Received on Sunday, 25 February 2018 23:38:11 UTC