W3C home > Mailing lists > Public > www-style@w3.org > February 2017

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

From: fantasai <fantasai.lists@inkedblade.net>
Date: Tue, 14 Feb 2017 18:36:03 -0500
To: Oriol Bugzilla <oriol-bugzilla@hotmail.com>, "www-style@w3.org" <www-style@w3.org>
Message-ID: <ba922038-d516-88b7-803c-3e8dd1fed4be@inkedblade.net>
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

This archive was generated by hypermail 2.3.1 : Tuesday, 14 February 2017 23:36:45 UTC