W3C home > Mailing lists > Public > www-style@w3.org > October 2008

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

From: fantasai <fantasai.lists@inkedblade.net>
Date: Thu, 16 Oct 2008 04:48:34 -0700
Message-ID: <48F72A12.5000408@inkedblade.net>
To: www-style@w3.org

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 GMT

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