[csswg-drafts] [css-display] Block containers can also establish an inline formatting context

Loirooriol has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-display] Block containers can also establish an inline formatting context ==
>From [CSS 2.1](https://www.w3.org/TR/CSS2/visuren.html#block-boxes),

> 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](https://www.w3.org/TR/css-display-3/#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.





Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1185 using your GitHub account

Received on Friday, 7 April 2017 21:01:59 UTC