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

Re: [css regions] Region "balancing"

From: David Hyatt <hyatt@apple.com>
Date: Thu, 13 Oct 2011 14:05:30 -0500
Cc: "www-style@w3.org list" <www-style@w3.org>
Message-id: <1FBC25EB-1684-42FB-9AAD-911075F395F5@apple.com>
To: Vincent Hardy <vhardy@adobe.com>
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 GMT

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