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

Re: Suspect CSS2.1 test case

From: L. David Baron <dbaron@dbaron.org>
Date: Thu, 11 Sep 2008 11:13:05 -0700
To: Ben Cotterell <ben.cotterell@antplc.com>
Cc: www-style@w3.org
Message-ID: <20080911181305.GA597@pickering.dbaron.org>

On Thursday 2008-09-11 18:19 +0100, Ben Cotterell wrote:
> On Thu, Sep 11, 2008 at 09:47:32AM -0700, L. David Baron wrote:
> > On Thursday 2008-09-11 17:33 +0100, Ben Cotterell wrote:
> > > Then the text "FAIL" goes in, to the right of the first float. Only 1px
> > > of the div's background is visible above the second float, so most of
> > > the text ends up occupying the same position on the page as the second
> > > float.
> > 
> > Which is the bug that this test is testing, I believe.
> > 
> > This is a bug in Mozilla:
> > https://bugzilla.mozilla.org/show_bug.cgi?id=25888
> > and it causes overlap on real pages.
> 
> OK, but is this in the CSS 2.1 specification anywhere?
> 
> 9.4.2 explains that line boxes get narrower when there are floats to the
> sides, but there's nothing I can see that says anything like "Line boxes

...which is exactly the behavior that's being tested here.  They get
narrower when there are floats at their sides.  The floats can be
anywhere on their side, not just at the very top of their sides.

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Thursday, 11 September 2008 18:14:01 GMT

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