W3C home > Mailing lists > Public > www-style@w3.org > June 2014

Re: For printing: Select the element preceded immediately by a page-break?

From: Liam R E Quin <liam@w3.org>
Date: Tue, 10 Jun 2014 18:09:32 -0400
Message-ID: <1402438172.27382.53.camel@slave.barefootcomputing.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: Scott Arciszewski <kobrasrealm@gmail.com>, www-style list <www-style@w3.org>
On Tue, 2014-06-10 at 13:06 -0700, Tab Atkins Jr. wrote:

> On Wed, Apr 30, 2014 at 2:38 AM, Scott Arciszewski
> <kobrasrealm@gmail.com> wrote:
> > Hello,
> >
> > I've run into a problem where, when I want to print a webpage, for only a
> > subset of document, I'd like to have a repeated header.

> How do you envision this working?  Selectors apply to elements, but it
> sounds like you want to *create* an element after each page break.  Is
> this right?

Note, GCPM and css paged media together give you a way to put text into
a running header or footer area (and also the sides - running arms?).

Web browsers don't support this today as far as I know, although
programs like Antenna House Formatter, YesLogic PrinceXML and the
opensource weasyprint do.

You still typically end up needing to insert extra elements in the
documents, but only one per section with the text of the running
header/footer in it, and only if it contains markup, as otherwise it can
come from CSS.


Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org freenode/#xml
Received on Tuesday, 10 June 2014 22:09:35 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:43 UTC