W3C home > Mailing lists > Public > www-style@w3.org > June 1998

Nested Counters

From: Tim Bagot <tim@oakley.keble.ox.ac.uk>
Date: Mon, 1 Jun 1998 20:14:10 +0100 (BST)
To: Style Sheet mailing list <www-style@w3.org>
Message-ID: <Pine.LNX.3.96.980601200957.17079A-100000@oakley.keble.ox.ac.uk>

The CSS2 recommendation says:-

"... every element that has a 'counter-reset' for a counter X, creates a
fresh counter X, the scope of which is the element, its preceding
siblings, and all the descendants of the element and its preceding
siblings."

I think that "preceding siblings" may be incorrect: surely the reset
counter should apply to siblings which follow the affected element?

Tim Bagot
Received on Monday, 1 June 1998 15:13:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:55 GMT