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

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 UTC