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

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

From: Håkon Wium Lie <howcome@opera.com>
Date: Thu, 2 Apr 2009 11:51:27 +0200
Message-ID: <18900.35487.4001.44198@opera.com>
To: www-style@w3.org
There appears to be one remaining issue before the WG is comfortable
sending css3-multicol to Last Call. The current editor's draft:


states that he 'page-break-inside' property specifies the behavior of
natural column breaks inside elements. That is, if you set:

  p { page-break-inside: avoid }

the formatter will try to avoid both page breaks and column breaks
inside p elements.

In most cases, this is what the author wants, I believe. However,
there may be cases where the author really cares about avoiding page
breaks but doesn't care about column breaks. 

I propose to address this by having two keywords on the
'page-break-inside' property:

  'avoid' -- avoids page breaks
  'avoid-all' -- avoids page breaks and column breaks

One argument against 'avoid-all' is that it doesn't avoid line breaks.
However, I can't think of a better name. 

It should also be noted that using the page-* propoerties to set
preferences on columns is not ideal. However, introducing three new
properties to describe column behavior seems excessive. 

Opinions welcome.

              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome
Received on Thursday, 2 April 2009 09:52:15 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:35 UTC