Re: [css3-gcpm] [css3-page] Named page lists

Also sprach fantasai:

 > > Should the value of "page" be different in each repetition of a 
 > > fixed-pos element?
 > > 
 > > If so, can the values of other counters also vary across repetitions?
 > 
 > The 'page' counter is not available in the document context, only within
 > the margin boxes.
 > 
 >    http://dev.w3.org/csswg/css3-page/#page-based-counters

GCPM introduces target-counter() which fetches the value of a counter
at the end of a link. For example:

  a::after { content: "(see page " target-counter(attr(href, url), page, decimal) ")" }

In order to support this construct, all elements must have some notion
of which page it's on. I suggest making the 'page' counter magic to
achieve this goal. That is -- to answer Robert's question -- yes, the
value of "page" is different in each repetition of a fixed-pos
element.

-h&kon
              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome

Received on Thursday, 11 September 2008 18:53:03 UTC