W3C home > Mailing lists > Public > www-style@w3.org > September 2010

Re: [css3-lists] Specifying new list-types

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 8 Sep 2010 18:16:47 -0700
Message-ID: <AANLkTi=+HoP94qkduGd8en3GTJYHj19mCfQpV9NcZwpm@mail.gmail.com>
To: fantasai <fantasai.lists@inkedblade.net>
Cc: "Belov, Charles" <Charles.Belov@sfmta.com>, www-style list <www-style@w3.org>
On Wed, Sep 8, 2010 at 5:58 PM, fantasai <fantasai.lists@inkedblade.net> wrote:
> Speaking of which, Tab, we need some way of indicating in the counter()
> argument to use the correct numbering type associated with a particular
> counter instance. And some way of associating a counter instance with
> a numbering type. (I'd suggest using the list-style-type property somehow.
> Not sure how.) Because outlining styles that aren't all decimal would
> be hard to handle correctly otherwise.
>
> 1
>  1.a
>  1.b
>     1.b.i
>     1.b.ii
>     1.b.iii
>     1.b.iv
> 2
>  2.a
>  2.b
>  2.c

Ah, right, didn't even consider that that was a problem.  Yeah,
probably what should happen is that when a counter-reset happens
(establishing a new counter scope) it should grab the list-style-type
of the element that's doing the reset, and associate it with the
newly-created counter.  Then if you don't specify a list-type in the
counter() or counters() function, it just uses the counter's
associated list-style.

~TJ
Received on Thursday, 9 September 2010 01:17:39 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:31 GMT