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

Counters

From: Matthew Brealey <thelawnet@yahoo.com>
Date: Mon, 17 Jan 2000 04:44:09 -0800 (PST)
Message-ID: <20000117124409.20201.qmail@web902.mail.yahoo.com>
To: www-style <www-style@w3.org>
1.
<blockquote>
This specification does not define how alphabetic systems wrap at the end
of the alphabet. 
For instance, after 26 list items, 'lower-latin' rendering is undefined.
Therefore, for long lists, we recommend that authors specify true numbers.
</blockquote>
aa ab ac ad ae ... zz ... aaa aab aac aad (just look at a spreadsheet)

What makes this limitation all the more mystifying is that negative values
_are_ permitted on counter-increment and counter-reset, where a real
problem does exist (e.g., content: counter(function, lower-alpha);
counter-reset: -1). Therefore, I would suggest that the following sentence
should be included:

'Where it is possible that a value for a counter function will result in
an unrenderable value in the specified list style type, decimal should be
used instead. E.g.,:
LI {counter(function, lower-alpha); counter-increment: -1)} OL
{counter-reset: 26} results in:
26
25
24

As a result, I would propose that the restriction that increments and
resets must be integer values should be removed.

In addition, could somebody explain what the counters() function is meant
to do, because I haven't got a clue - no examples are given and the text
in the spec has got me stumped.


=====
----------------------------------------------------------
From Matthew Brealey (http://members.tripod.co.uk/lawnet (for law)or http://members.tripod.co.uk/lawnet/WEBFRAME.HTM (for CSS))
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
Received on Monday, 17 January 2000 07:44:11 GMT

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