Re: [webcomponents] [Custom Elements]: Custom elements should be display: block by default (#224)

I don't think a pseudo makes sense, there's no way to express it across shadow boundaries like you can UA sheets, which means authors copy and paste the rule into each shadow.

It also doesn't really make sense to me to do this globally like that. If the default is inline, but some elements are block, you'd not want to do `:custom-element { display: block; }`, since you'd break elements which intend to be inline, or cause strange loading behavior.

I think having registerElement make it become block is fine, you should already be managing FOUC using :unresolved.

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/224#issuecomment-193551720

Received on Tuesday, 8 March 2016 01:54:02 UTC