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

I don't think that's any more surprising than today where authors don't realize they're inline by default and end up with collapsed or overflowing inlines all over. I frequently end up answering questions about why an element that contains divs has "strange behavior", it's almost always because they forgot display: block.

Note that much worse things will happen to an unresolved element, ex. it won't have borders, it won't have box-sizing: border-box, it won't style/place its children correctly if used Shadow DOM, and more. Authors should use :unresolved (and they already do) to hide elements while waiting for upgrade. Generally speaking authors completely hide them with :unresolved and only selectively reshow ones where they want to show some content before the upgrade happens. That's pretty exceptional though.

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

Received on Tuesday, 8 March 2016 06:10:28 UTC