W3C home > Mailing lists > Public > www-style@w3.org > August 2010

Re: [CSS 2.1] [section 9.5 Floats] Empty floated element with a set width but height:0

From: fantasai <fantasai.lists@inkedblade.net>
Date: Mon, 09 Aug 2010 09:59:26 -0700
Message-ID: <4C6033EE.7050501@inkedblade.net>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: Anton Prowse <prowse@moonhenge.net>, www-style@w3.org
On 08/07/2010 04:35 PM, Tab Atkins Jr. wrote:
> On Sat, Aug 7, 2010 at 3:21 AM, Anton Prowse<prowse@moonhenge.net>  wrote:
>> Again, this is about continuities.  What if the second float's margin
>> area height were negative?  I'd expect (insist, actually) that it be
>> ignored for the purposes of line box shortening.  Should it stop being
>> ignored at zero height, or at positive height?  Positive height seems
>> the more sensible to me.
>
> Are you talking about the case where the float is at the top of the
> line box, or in the middle?
>
> In the "top of line box" situation, it should be treated identically
> to any other positive-height float that happens to have a bottom
> margin edge incident with the top edge of the line box.
>
> In the "middle of line box" situation, several behaviors seem sensible
> to me.  We can make it not count when it's zero-height, not count when
> it's negative height, or just count all the time.

Making it not count when zero or negative makes the most sense to me.
It seems odd for negative area take up space.

~fantasai
Received on Monday, 9 August 2010 17:42:25 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:30 GMT