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

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 UTC