[CSS2.1] Counters nesting

With the new clarification of counter nesting, I have a corner case question. 

Given the following CSS and HTML snippets:

root: { counter-reset: item }
parent: { counter-reset: item; counter-increment: item }
child, sibling: {counter-increment: item }
child::after, sibling::after: { content: counter(item) "," counters(item) }

<root>
<parent>
	<child> Should be 2, 1.1 (?): </child>
	<child> Should be 3, 1.2 (?): </child>
</parent>
<sibling> Is it 2, 3, 4 or even 1.3? </sibling>
<root>

What should the sibling show?

In other words does the reset work separately on sibling and children? And is 
the counter-increment then counted as a child or as a sibling?

In the original I would have said 1.3 to be consistant, but since the nesting 
now only affects children, it seems very odd to become 4..

`Allan

Received on Thursday, 16 June 2005 00:53:05 UTC