- From: L. David Baron <dbaron@dbaron.org>
- Date: Wed, 25 Oct 2006 09:45:02 -0700
- To: www-style@w3.org
Received on Wednesday, 25 October 2006 16:45:14 UTC
On Wednesday 2006-10-25 10:58 -0400, Paul Sawyer wrote: > Should resetting a counter in a descendent of a following sibling: > > a. reset the original counter or > > b. create a new instance of the counter? (b) create a new instance of the counter. This is stated in the following text in the spec: # The scope of a counter starts at the first element in the document # that has a 'counter-reset' for that counter and includes the # element's descendants and its following siblings with their # descendants. However, it does not include any elements in the # scope of a counter with the same name created by a 'counter-reset' # on a later sibling of the element or by a later 'counter-reset' on # the same element. -David -- L. David Baron <URL: http://dbaron.org/ > Technical Lead, Layout & CSS, Mozilla Corporation
Received on Wednesday, 25 October 2006 16:45:14 UTC