W3C home > Mailing lists > Public > www-html@w3.org > November 2002

Paged-media break points

From: Stephen Brooks <sb@stephenbrooks.org>
Date: Fri, 1 Nov 2002 16:35:30 -0000
Message-ID: <003101c281c4$b2d0d9c0$7ba201a3@trinity.ox.ac.uk>
To: <www-html@w3.org>

Please tell me if the following has been put in a W3C standard that I
haven't seen yet, but...

I thought it would be a good idea to have a tag e.g. <break level='3'/>
which indicates a natural break in the document, so that when printed on
paper (or any other form of paged display - phone screens perhaps) the
document would be broken up sensibly instead of the current thing that seems
to happen with IE when I ask it to print and it just breaks at whatever line
runs off the page.

The "level" attribute is useful in my suggested page-breaking algorithm:
when trying to split a piece of HTML that won't fit on one page, find all
the "break" tags of lowest level present and split by those, then try to fit
the resulting pieces onto the pages one-by-one (perhaps several per page if
they are small).  If any of these pieces on their own still won't fit on one
page, recursively apply this algorithm to them.
Received on Friday, 1 November 2002 11:40:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:53 GMT