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

Re: Error (nit) in CSS3 selectors, :first-child

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Thu, 07 Apr 2005 14:40:33 +0200
Message-ID: <42552A41.4050905@annevankesteren.nl>
To: Laurens Holst <lholst@students.cs.uu.nl>
CC: www-style@w3.org

Laurens Holst wrote:
> | The following two selectors are equivalent:
> |
> | * > a:first-child   /* a is first child of any element */
> | a:first-child       /* Same */
> 
> This is not true if a is the root element...

That is a known error IIRC.


-- 
  Anne van Kesteren
  <http://annevankesteren.nl/>
Received on Thursday, 7 April 2005 12:40:28 GMT

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