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

Re: [css3-multicol] splitting floats across column boundaries

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 1 Dec 2011 17:55:47 -0800
Message-ID: <CAAWBYDDP2_JSfpiuTXrc0OCNjehv824RnRH+7akvTfa3axO8jg@mail.gmail.com>
To: Håkon Wium Lie <howcome@opera.com>
Cc: Alan Stearns <stearns@adobe.com>, "www-style@w3.org" <www-style@w3.org>
On Thu, Dec 1, 2011 at 5:07 PM, Håkon Wium Lie <howcome@opera.com> wrote:
> Also sprach Alan Stearns:
>
>  > Take a look at this file. It has a div floated left with six lines of text
>  > in a 2-column layout containing eight lines of text
>  >
>  > http://hg.csswg.org/test/raw-file/50587184a512/contributors/adobe/incoming/floatLeftMulticolBreak.html
>  >
>  > In WebKit the columns are balanced by splitting the float in two. In Gecko
>  > and Opera the float remains intact and the columns are not balanced. Should
>  > I expect more interop here, or is this a vague area that css3-pagination is
>  > meant to resolve?
>  >
>  > I am strongly in favor of splitting the float in an instance like this.
>
> What if the float was an image?

Webkit does multicol splitting by, essentially, just laying the entire
thing out in one big column and visually cutting it.  It inserts extra
space between lines to keep from cutting in the middle of a linebox.

So, yeah, a tall floated <img> would stay intact.

~TJ
Received on Friday, 2 December 2011 01:56:38 GMT

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