W3C home > Mailing lists > Public > www-style@w3.org > April 2009

RE: [css3-multicol] page-break-inside and columns

From: Grant, Melinda <melinda.grant@hp.com>
Date: Thu, 16 Apr 2009 20:01:07 +0000
To: Håkon Wium Lie <howcome@opera.com>
CC: "www-style@w3.org" <www-style@w3.org>
Message-ID: <763AE400FE923441B74861D534DF25496442EEFFF6@GVW0433EXB.americas.hpqcorp.net>

Håkon asked:
> Do you have a preferred list of the values on the break-* properties that would (a) provide a direct mapping
> from the page-* properties and
> (b) introduce values to influence column behavior?

For just what we need now, for multicol, we'd suggest:

break-before, -after:
        auto | column | page | right | left | avoid | avoid-page 

If we go with the alias approach, as opposed to the shorthand approach, we'll also need to retain 'always' as a synonym of 'page' for bwc.  I think we should add both 'page' and 'column' to establish a path forward to add a percentage or length value to create a conditional break.  

break-inside:
        auto | avoid | avoid-page

Looking forward to css4-page, I think we should add avoid-turn to all three properties, and perhaps 'front' and 'back'  to 
-before and -after to generalize 'right' and 'left' for bidirectional documents.  (Or 'initial' and 'facing' or ??? and ???)  Need some input from people working with rtl languages to determine whether those are important enough to justify.

We might also want to add something to -before and -after to deal with the 'I want two consecutive blank pages' use case raised earlier in this thread by Philip Taylor: maybe 'skip' to leave one blank page (column, right page, etc.) over and above what the normal breaking would produce.

And we want to add the conditional behavior suggested by Andrew and others.

For css4-page, we're thinking something like:

break-before, -after:
        auto | skip? [ page | right | left | front | back ] [ <percentage> | <length> ]? | avoid | avoid-page | avoid-turn

inside:
        auto | avoid | avoid-page | avoid-turn

... and new pseudo-classes for :front and :back. 

Thoughts?

Best wishes,

Melinda
Received on Thursday, 16 April 2009 20:02:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 May 2012 03:46:58 GMT