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:41:38 +0000
Message-ID: <SNT146-W412B4E43190F1660E3DD4897810@phx.gbl>
To: "www-style@w3.org" <www-style@w3.org>



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.

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?

—Oriol

[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:42:14 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:32 UTC