Re: [css regions] Region "balancing"

On Oct 13, 2011, at 1:07 PM, Vincent Hardy wrote:

> Hi Dave,
> 
> On Oct 13, 2011, at 10:51 AM, David Hyatt wrote:
> 
>> It seems like regions need a balancing feature similar to columns. I don't think it necessarily has to affect the region sizes themselves, but it seems like we at least need the ability to balance flow thread content across some regions.
>> 
>> The canonical example I can think of is if regions are used in conjunction with @page grid-template rules to create a multi-column layout. You want the content on the last page to be balanced across the two columns of that page. The fact that the regions might be as tall as the page is fine…. you just want the flow thread content to balance.
>> 
>> I don't think we have to have balancing that sets an object's height like columns do, but it does seem like we need to be able to say something like "balance the content inside the regions if there's extra room left over."
>> 
>> dave
>> (hyatt@apple.com)
> 
> This seems like a nice feature, but I have a few questions:
> 
> a. if I have laid you my text through 20 regions, the balancing will require that I balance the 20 regions if things do not fit exactly on the last one. Isn't this going to be quite expensive?
> 

Potentially sure. It can be expensive for columns too.

> b. for paginated content, I assume we would say that balancing only happens on the last page, right?

No. Balancing can happen as a result of forced breaks as well.

dave
(hyatt@apple.com)

Received on Thursday, 13 October 2011 19:06:21 UTC