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

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

From: Alan Gresley <alan@css-class.com>
Date: Mon, 20 Feb 2012 23:27:08 +1100
Message-ID: <4F423C1C.7010208@css-class.com>
To: fantasai <fantasai.lists@inkedblade.net>
CC: Philippe Wittenbergh <ph.wittenbergh@l-c-n.com>, "www-style@w3.org" <www-style@w3.org>
On 14/02/2012 9:33 PM, Alan Gresley wrote:
> On 14/02/2012 8:26 PM, fantasai wrote:

>> Table rows don't establish block formatting contexts, but wrt table
>> boxes, see
>> http://www.w3.org/TR/CSS21/tables.html#model
>> ~fantasai
> This may be true by way of concept of the spec but the reality is
> different (see test below).

Ignore the above. I wasn't thinking of anonymous table objects.

On 14/02/2012 4:02 PM, Philippe Wittenbergh wrote:
 > 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.

Regarding this part of 9.4.1.

   | Floats, absolutely positioned elements, block
   | containers (such as inline-blocks, table-cells,
   | and table-captions) that are not block boxes

Should it also state anonymous table objects or boxes? I take the above 
to read like real (in the code, not anonymous) boxes.

Alan Gresley
Received on Monday, 20 February 2012 12:27:44 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:12 UTC