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 UTC

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