W3C home > Mailing lists > Public > www-validator-css@w3.org > July 2002

[Bug] multiple counter-reset without integer

From: (wrong string) äper <christoph.paeper@tu-clausthal.de>
Date: Wed, 26 Jun 2002 21:34:12 -0400 (EDT)
Message-ID: <025f01c21d7a$bcd20010$3ef4ae8b@heim4.tuclausthal.de>
To: <www-validator-css@w3.org>




Hi!

When validating a stylesheet[1] using multiple counters the validator IMO
wrongly points out an error in a line like this:

| h1 {counter-reset: head2 head3}

It wants

| h1 {counter-reset: head2 0 head3 0}

but the spec reads

| 'counter-reset'
| Value:  [ <identifier> <integer>? ]+ | none | inherit

i.e. the integer is optional. If only one counter is reset like in

| h1 {counter-reset: image}

it accepts it without any integer.

[1] <http://home.tu-clausthal.de/~ktcwcp/counter.css>

Christoph Päper
Received on Thursday, 11 July 2002 18:12:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 June 2012 00:14:11 GMT