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

Re: [CSS3-content] counters: total count

From: Michael Day <mikeday@yeslogic.com>
Date: Thu, 18 Oct 2007 07:51:32 +1000
Message-ID: <471683E4.6060403@yeslogic.com>
To: fantasai <fantasai.lists@inkedblade.net>
CC: www-style@w3.org

Hi fantasai,

>> 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? :)

Why not just use target-counter, and provide a keyword for accessing the 
end of the document, eg. target-counter(end, page)? This method is 
flexible as it can be used to count the number of pages in subsections 
as well.

Cheers,

Michael

-- 
Print XML with Prince!
http://www.princexml.com
Received on Wednesday, 17 October 2007 21:51:55 GMT

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