Re: [css3-selectors] details of :nth-child() syntax

L. David Baron wrote:
> One more issue to add.  Given the example (which is in the spec):
>   # html|tr:nth-child(-n+6)  /* represents the 6 first rows of XHTML tables */
> I think after the following sentence:
>   # When a=1, the number may be omitted from the rule. 
> we need to add the sentence:
>   # When a=-1, the number may be replaced with the minus sign.
> 
> Otherwise, the example is not valid.

Fixed by replacing that sentence with
   # When a=1, or a=-1, the number may be omitted from the rule.

~fantasai

Received on Thursday, 16 October 2008 11:49:36 UTC