W3C home > Mailing lists > Public > www-style@w3.org > July 2015

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

From: Oriol Bugzilla <oriol-bugzilla@hotmail.com>
Date: Fri, 24 Jul 2015 00:05:20 +0000
Message-ID: <SNT146-W2861A8E80040D65C6D188897810@phx.gbl>
To: "www-style@w3.org" <www-style@w3.org>
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.

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?


[1]: http://www.w3.org/TR/CSS2/visuren.html#block-formatting
[2]: http://www.w3.org/TR/css-display-3/#valdef-display-flow
[3]: http://www.w3.org/TR/css-display-3/#display-value-summary

Received on Friday, 24 July 2015 00:05:50 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:52 UTC