W3C home > Mailing lists > Public > www-style@w3.org > January 2004

Re: [css3-page] Comment on page counters

From: Werner Donné <werner.donne@re.be>
Date: Wed, 14 Jan 2004 11:43:35 +0100
Message-ID: <40051D57.2030607@re.be>
To: "BIGELOW,JIM (HP-Boise,ex1)" <jim.bigelow@hp.com>
Cc: www-style@w3.org

Jim,

For me, the reason for being more explicit about the page counter is that it is
not an ordinary counter. The scoping, for example, is not the same as for elements.
Therefore, the counter-reset property doesn't necessarily mean the same when applied to
the page counter. What would it mean on a <p>-element for example? Would it affect the
page onto which the formatted result of the <p>-element goes or the next one? According
to the normal scoping rules it couldn't affect anything, because it doesn't contain
any pages. For a block-level element that carries the page property one could
argue that it "contains" the set of pages that are generated for it and hence resetting
the page counter on it would affect these pages. But that is merely interpretation.

Regards,

Werner.

BIGELOW,JIM (HP-Boise,ex1) wrote:
> Werner,
> 
> Thank you for you comment. It has been assigned issue number 33.
> 
> You wrote:
> 
>>I think it would be interesting to specify that the counter 
>>"page" can be reset. 
> 
> 
> The CSS working group agrees.  While it is not specifically mentioned in
> this document, there is a property, counter-reset, in CSS Level 2, Level 2.1
> and Level 3, that does as you suggest.
> 
> Best regards,
> 
> Jim
> 
> 

-- 
Werner Donné  --  Re BVBA
Engelbeekstraat 8
B-3300 Tienen
tel: (+32) 486 425803	e-mail: werner.donne@re.be
Received on Wednesday, 14 January 2004 05:43:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:25 GMT