Re: [csswg-drafts] [css-display] BFC roots may not be block boxes

@tabatkins 
> Only flow-layout stuff establishes block formatting contexts.

Could you please clarify this a bit?
First, the CSS2.x spec currently specifically [says](https://drafts.csswg.org/css22/visuren.html#block-formatting) that
> ... block containers (such as inline-blocks, _table-cells,_ and _table-captions_) that are not block boxes ... establish new block formatting contexts for their contents.

Second, both Flexbox and Grid specs say that
> A [flex/grid] item establishes a new formatting context for its contents. The type of this formatting context is determined by its display value, as usual.

Doesn't it mean that, if the item has `display:block` as a computed value, then it establishes the BFC?

-- 
GitHub Notification of comment by SelenIT
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1471#issuecomment-313307546 using your GitHub account

Received on Thursday, 6 July 2017 06:26:58 UTC