W3C home > Mailing lists > Public > www-style@w3.org > October 2007

Re: [CSS3-content] counters: total count

From: fantasai <fantasai.lists@inkedblade.net>
Date: Wed, 17 Oct 2007 15:20:19 -0400
Message-ID: <47166073.4040707@inkedblade.net>
To: Brad Kemper <brkemper@comcast.net>, www-style@w3.org

Brad Kemper wrote:
> On Oct 15, 2007, at 10:26 AM, fantasai wrote:
> 
>>
>> I was thinking about the problem of getting a total pages count to put in
>> print footers and the various permutations of that one might want. There
>> was a proposal for a 'pages' or 'total-pages' counter at some point. I'm
>> thinking a better option would be a total-count() function for the 'content'
>> property. That allows the function to apply to any counter, and it could
>> take advantage of counter-reset and counter-increment to include/exclude
>> pages or do section counts.
> 
> I'm thinking that "end-count" or "max-count" might be a more intuitive 
> keyword than "total-count".

Yeah, good point. last-count() would be another possibility. Any preferences? :)

~fantasai
Received on Wednesday, 17 October 2007 19:20:36 GMT

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