W3C home > Mailing lists > Public > www-style@w3.org > May 2008

Re: [CSS 21] overflow:hidden adjacent to a float

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 19 May 2008 17:43:35 -0500
Message-ID: <48320297.3060506@mit.edu>
To: Ingo Chao <i4chao@googlemail.com>
CC: "www-style@w3.org" <www-style@w3.org>

Boris Zbarsky wrote:
> Sadly, websites seem to somewhat depend on that behavior.  That was a 
> major reason for the change from Firefox 3 beta 5 to Firefox 3 RC1 that 
> you see in your screenshot.

And more precisely, they depend on the overflow:hidden box not wrapping past the 
float, even if the parent box has a fixed width that is insufficient to put the 
float and the preferred width of the overflow:hidden box on the same line.  That 
means either not wrapping the overflow:hidden box even when it doesn't fit (the 
Firefox 2 behavior) or making it fit (the Firefox 3 RC1 behavior).

If your concern is that in this case the containing shrink-wrap box should be 
wider, that seems valid; note that the width computation for this shrink-wrap 
box is not defined in the spec either.

-Boris
Received on Monday, 19 May 2008 22:44:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:06 GMT