[Bug] multiple counter-reset without integer

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 UTC