W3C home > Mailing lists > Public > www-style@w3.org > December 2011

Re: [css3-lists] counter-reset and counter-increment

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 6 Dec 2011 18:44:57 -0800
Message-ID: <CAAWBYDAnBgE8nMU100CyPaD1SkGugYThu+6xDLSampNiRHXu5A@mail.gmail.com>
To: Simon Sapin <simon.sapin@kozea.fr>
Cc: www-style@w3.org
On Fri, Dec 2, 2011 at 10:25 AM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
> On Fri, Dec 2, 2011 at 10:17 AM, Simon Sapin <simon.sapin@kozea.fr> wrote:
>> Hi,
>>
>> The counter-reset and counter-increment properties are not defined in Lists
>> and Counters Level 3, while they are mentioned in the prose (in section 2)
>> and used in examples.
>>
>> They are defined in CSS3 Content, but that spec is marked as obsolete and
>> the definition seems to be the same as in CSS 2.1. Lists 3 should explicitly
>> link to either 2.1 or Content 3 for defining these properties.
>
> Yeah, I was thinking that I should probably define them in Lists.
> I'll see about doing so today.

This is now completed.  I've defined both the counter-* properties and
the counter() and counters() functions.


On Fri, Dec 2, 2011 at 10:37 AM, L. David Baron <dbaron@dbaron.org> wrote:
> We should probably also add a mechanism (maybe a 'counter-set'
> property) that assigns the value of a counter without creating a new
> scope.  We keep needing this.

I've added this as 'counter-set'.

~TJ
Received on Wednesday, 7 December 2011 02:45:48 GMT

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