Should <section> default to display: flow-root?


#1

I think this is what makes most sense, given that it makes little sense to want <section>s to collapse, so to speak. Floats would presumably be confined to that section, which IMO is the entire purpose behind the <section> tag.

Edit: Just to tag onto this, I don’t think it’s just section. Most semantic tags introduced in HTML5 would all benefit from being default display: flow-root.


#2

No, that would be a significant breaking change to pages. It might have made sense a decade ago when these tags were first introduced, but definitely can’t be done now.


#3

Hmm, didn’t even think of the breaking changes. Disregard :slight_smile: