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

Re: [css3-multicol] Clarification on column-fill

From: Anton Prowse <prowse@moonhenge.net>
Date: Mon, 19 Dec 2011 21:57:08 +0100
Message-ID: <4EEFA524.1010808@moonhenge.net>
To: www-style@w3.org
On 19/12/2011 21:06, fantasai wrote:
> On 12/19/2011 10:32 AM, Håkon Wium Lie wrote:
>>
>> How about:
>>
>> "When the multi-column element is paginated, this last row of
>> columns are formatted according to the computed value of this
>> property; other columns are formatted as if 'column-fill:
>> auto' had been set."
>
> Hm, but what if you wanted those columns balanced? I think Morten's
> case is one we haven't thought about yet.
>
> Another case to think about is this one:
>
> <div style="columns: 2">
> Some content
> <img title="Very Big Image">
> More content.
> </div>
>
> Here's the content:
>
> ~~~~~~~~~
> ~~~~~~~~~
> ~~~~~~~~~
> ~~~~~~~~~
> +-------+
> | |
> | IMG |
> | |
> +-------+
> ~~~~~~~~~
> ~~~~~~~~~
> ~~~~~~~~~
>
> Let's say we're paginating, and the first page looks like this because the
> image doesn't quite fit and gets pushed down:
>
> ~~~~~~~~~ ........
> ~~~~~~~~~ . .
> ~~~~~~~~~ . . <-- blank spot where image would have gone, but it didn't fit
> ~~~~~~~~~ . .
> ___________________
>
> page break
> ___________________
> +-------+ ~~~~~~~~
> | | ~~~~~~~~
> | IMG |
> | |
> +-------+
>
> Should the text in the first page be balanced across the columns?
>
> It's the same question, except in this case the break isn't forced.

 From an author perspective, the blank space is fine for me here.  Note 
that I would expect different behaviour if the image were floated: the 
following content would occupy the space.  (That assumes that floats 
don't split, of course.)

I would find balancing the columns rather strange in the case given; I 
expect I would be anticipating the end of the chapter or whatever, until 
I arrived at the bottom of the second column only to find an incomplete 
sentence.  It would be even worse if, by chance, a sentence ended 
exactly at the bottom of the second column, since I would definitely be 
expecting a new chapter on the next page.

Cheers,
Anton Prowse
http://dev.moonhenge.net
Received on Monday, 19 December 2011 20:57:45 GMT

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