W3C home > Mailing lists > Public > www-style@w3.org > March 2011

Re: [CSS21] Issue 192 - floats and shortened line boxes

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 17 Mar 2011 08:49:58 -0700
Message-ID: <AANLkTin5+oL08K3-hny9h=3-63S6diZdgmCMrajJRaTm@mail.gmail.com>
To: Alan Gresley <alan@css-class.com>
Cc: Anton Prowse <prowse@moonhenge.net>, www-style@w3.org, "L. David Baron" <dbaron@dbaron.org>
On Thu, Mar 17, 2011 at 2:47 AM, Alan Gresley <alan@css-class.com> wrote:
> On 17/03/2011 1:08 PM, Anton Prowse wrote:
> [snip]
>> David and I both used the logic of Rules 6 and 8 in 9.5.1 to conclude
>> that the content before the float is indeed always reflowed into the
>> same line on the other side of the float; it's never broken into
>> multiple line boxes.
>
> Anton, you have a mental model, David has a mental model, I have a mental
> model. If I see this.
>
> x x x x x x
> | Float | a
> | Float | b
> | Float |
> car
>
> The line boxes that have 'a' and 'b' are what I believe are multiple line
> boxes.

If the "a b" is supposed to be content that preceded the float in
source order, then the situation you present can never arise.  All
browsers agree that the rendering would instead be:

x x x x x x
a b car
| Float |
| Float |
| Float |

(That is, the float is pushed down to the next line instead, and
following content may be reflowed into the space left on the line that
the float vacated.)

~TJ
Received on Thursday, 17 March 2011 15:53:09 GMT

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