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

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 UTC