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

The last example of the :first-child pseudo-class [1] has a small error:

| 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...


~Grauw

[1] http://www.w3.org/TR/css3-selectors/#first-child-pseudo

-- 
Ushiko-san! Kimi wa doushite, Ushiko-san nan da!!

Received on Thursday, 7 April 2005 12:33:29 UTC