W3C home > Mailing lists > Public > public-css-archive@w3.org > April 2017

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

From: Loirooriol via GitHub <sysbot+gh@w3.org>
Date: Fri, 07 Apr 2017 21:01:53 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-220327771-1491598911-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:11 UTC