Re: [css-display] Should the inner model of `table-cell` and `table-caption` be `flow-root`?

On 07/23/2015 08:41 PM, Oriol Bugzilla wrote:
> Sorry, stupid Outlook removed all the line breaks of my message. I hope now it works.
> ___
>
> Hi there, I hope I have understood CSS Display and CSS2.1 properly, here I propose a clarification.
>
> CSS 2 [1] says
>> block containers (such as inline-blocks, table-cells, and table-captions) that are
>> not block boxes [...] establish new block formatting contexts for their contents.
>
> The WD already says `inline-block` has a `flow-root` inner model, but `table-cell` and `table-caption` only have `flow`.
>
> It's not wrong, because the definition of `flow` [2] says it may generate a BFC, and refers to CSS2.1
>
> But I think it would be better to directly say that `table-cell` and `table-caption` have `flow-root ` inner model.

Hi Oriol,

We didn't fee strongly on the issue, so the WG decided to take your preference on it. :)

> And I think that in the table of display values [3] there is a missing hyphen in `inline list-item`, it should be
> `inline-list-item` instead, shouldn't it?

(Seems to have been fixed.)

~fantasai

Received on Tuesday, 14 February 2017 23:36:45 UTC