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

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

From: L. David Baron <dbaron@dbaron.org>
Date: Fri, 7 Mar 2008 22:43:05 -0800
To: www-style@w3.org
Message-ID: <20080308064305.GA22234@ridley.dbaron.org>

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.


L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Saturday, 8 March 2008 06:43:17 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:34 UTC