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.



Print XML with Prince!
Received on Wednesday, 17 October 2007 21:51:55 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:31 UTC