W3C home > Mailing lists > Public > www-style@w3.org > February 2005

[CSS3] nth-child pseudo class

From: Andrew Fedoniouk <news@terrainformatica.com>
Date: Sat, 5 Feb 2005 17:59:21 -0800
Message-ID: <003701c50bef$79919340$0c01a8c0@TERRA>
To: <www-style@w3.org>

As stated [1]
"The :nth-child(an+b) pseudo-class notation represents an 
element that has an+b-1 siblings before it "

Question is: does this apply to the root element?
For example if <html> is a root then shall selector

html:nth-child(1) { overflow:auto }

match <html> element?

[1] http://www.w3.org/TR/2001/CR-css3-selectors-20011113/#nth-child-pseudo

Thanks in advance,

Andrew Fedoniouk.
http://terrainformatica.com
Received on Sunday, 6 February 2005 01:57:25 GMT

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