W3C home > Mailing lists > Public > www-style@w3.org > July 2006

Re: Absolutely positioned, non-replaced elements

From: Boris Zbarsky <bzbarsky@mit.edu>
Date: Sun, 23 Jul 2006 20:07:59 -0500
Message-ID: <44C41D6F.5070704@mit.edu>
To: Shadow2531 <shadow2531@gmail.com>
CC: www-style@w3.org

Shadow2531 wrote:
> Then, for rule #3, since width and right are auto and left is not, the
> width is shrink-to-fit.


> Now, I think the float: right; for the child h3 causes IE and Gecko to
> get 0 for right, but I'm not 100% sure how.

There's a bug in Gecko's shrink-to-fit algorithm if there's a shrink-to-fit 
child inside the thing you're working with.  Since the float has no width set, 
it's shrink-to-fit, so you hit the bug.

We expect to have this bug fixed in Gecko 1.9; the relevant builds render your 
page identically to Opera.

Received on Monday, 24 July 2006 01:08:03 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:25 UTC