You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A block container box either contains only block-level boxes or establishes an inline formatting context and thus contains only inline-level boxes.
That disappeared from CSS Display. It defines block container as
A box whose contents participate in a block formatting context.
But if the box container only contains inline-level boxes, the box container will establish an inline formatting context, and the inline-level boxes will then participate in an inline formatting context, not in a block formatting context. In fact, that's what inline-level boxes do by definition, they participate in an inline formatting context.
The text was updated successfully, but these errors were encountered:
Yes, much better :) Maybe I would mention display itself in the examples of properties which can make a block container establish a BFC, now that we have flow-root. And I would move the note into the definition of block box, and say that, in a similar way, not all block-level boxes are block container boxes.
From CSS 2.1,
That disappeared from CSS Display. It defines block container as
But if the box container only contains inline-level boxes, the box container will establish an inline formatting context, and the inline-level boxes will then participate in an inline formatting context, not in a block formatting context. In fact, that's what inline-level boxes do by definition, they participate in an inline formatting context.
The text was updated successfully, but these errors were encountered: