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

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 UTC