W3C home > Mailing lists > Public > www-style@w3.org > September 2013

Re: [css3-gcpm] Running elements

From: Håkon Wium Lie <howcome@opera.com>
Date: Wed, 25 Sep 2013 20:58:26 +0200
Message-ID: <21059.12882.252574.316629@gargle.gargle.HOWL>
To: "Cramer\, Dave" <Dave.Cramer@hbgusa.com>
Cc: "www-style\@w3.org" <www-style@w3.org>
Hello Dave,

 > We often put chapter titles in running heads. Sometimes that title
 > may contain an italic word ("The Sinking of the Lusitania"). If we
 > use named strings for the running head, we lose the italic. If we
 > use running elements, we'd need to add a second copy of the chapter
 > title to the HTML, purely for the running head.
 > 
 > A third option would be useful to us—in addition to copying the
 > content (string) and moving the element(running element), I'd like
 > to be able to copy the element to a margin box.

Yes. This was part of GCPM ED until June, when I pruned features that
had not been implemented. Here's a copy of th Jun 27 draft:

  http://people.opera.com/howcome/2013/gcpm/06-27.html

where one of the examples are:

  In this example, the element is copied into the running header but
  it also keeps its normal place.

  title { position: running(header), normal }
  @page { @top-center {
    content: element(header) }
  }

I'm happy to resurrect the feature, though -- it's very useful.
Changing 'position' to take a comma-separated list is a big deal and
there may be better ways to achieve the same.

-h&kon
              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome
Received on Wednesday, 25 September 2013 18:59:02 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:32 UTC