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

Re: [CSS21] More issues with issues with 9.5 (Floats)

From: Peter Moulder <peter.moulder@monash.edu>
Date: Mon, 18 Oct 2010 11:33:26 +1100
To: "www-style@w3.org" <www-style@w3.org>
Message-id: <20101018003326.GA17279@bowman.infotech.monash.edu.au>
On Sun, Sep 05, 2010 at 10:39:20AM +0200, Anton Prowse wrote:

> Issue 2:
> 
> 9.5.1 says:
>   # 3. The right outer edge of a left-floating box may not be to the
>   # right of the left outer edge of any right-floating box that is to
>   # the right of it. Analogous rules hold for right-floating elements.
> 
> This means a left float can be to the right of a right float.  (They
> need to be in different containing blocks in order to construct this
> situation, obviously.)  Fx3.6 agrees; I haven't tested in others.
> This doesn't cause a problem, but I wanted to seek confirmation that
> this was an intentional feature of the spec.

My own guess was that "to the right of it" was intended to mean "where
the margin boxes of the two floats overlap vertically" (perhaps with a
definition similar to what was recently chosen for whether a line box is
"next to" a float in 9.5, such that negative-height floats are considered
never to overlap either line boxes or other floats).

Possibly the behaviour Anton reports here for Fx3.6 comes from some "ignore
other floats that don't intersect this float's containing block" behaviour
such as what's being discussed in the "Issue 101 Resolution" thread.

Either way, the wording clearly needs changing, given that the two of us
have interpreted things differently.

pjrm.
Received on Monday, 18 October 2010 00:34:02 GMT

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