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

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 ==
https://drafts.csswg.org/css-gcpm/#running-syntax

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