Re: [CSS21] BFC may become narrower and collide with a previous float

On Feb 14, 2012, at 1:48 PM, Alan Gresley wrote:

> If this is the case, then 9.4.1 [1] should also state that 'display: table' and 'display: table-row' also establish a new BFC since boxes with these display values also have the same behavior when beside floats.

No, not really. If no descendant element (of the display:table) with display: table cell is found, then the table/table-row is expected to generate one (and anonymous table object).

see 17.2.1 Anonymous table objects http://www.w3.org/TR/CSS21/tables.html#anonymous-boxes

So I believe is 9.4.1 is correct.


Philippe
--
Philippe Wittenbergh
http://l-c-n.com/

Received on Tuesday, 14 February 2012 05:03:26 UTC