W3C home > Mailing lists > Public > public-css-archive@w3.org > March 2017

[csswg-drafts] [css-gtpm] Need ability to copy(), not consume, elements for margin regions

From: Eliot Kimber via GitHub <sysbot+gh@w3.org>
Date: Thu, 16 Mar 2017 09:44:17 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-214646682-1489657456-sysbot+gh@w3.org>
drmacro has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-gtpm] Need ability to copy(), not consume, elements for margin regions ==

I want to support Issue 2: The inability to copy rather than consume elements complicates pagination in that it requires the authoring or generation of elements to hold header and footer contents when more than a simple string is required (for example, when a running head reflects the titles of multiple divisions and those titles have different formatting applied--this case requires elements rather than simple strings).

In the context of documents where the document-as-authored does not already contain the necessary elements for headers and footers it means that a transform must be applied that adds the necessary elements, meaning that such documents cannot be completely styled by the CSS alone.

If elements could be copied then this need for transformation would be removed (although in practice some transform is still required, e.g., to generate tables of contents).

I am working with a client that needs to apply two different page designs to the same source documents where the running head and foot requirements are very different.

The current design means that not only do I have to apply a transform to the source as authored but I must have different transforms for each of the page layouts, even though the content as authored is the same.

Without having a way to test Bert's proposal in practice, it does look like a reasonable solution that would meet my client's requirements for generating complex running heads and feet.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1109 using your GitHub account
Received on Thursday, 16 March 2017 09:44:24 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:09 UTC