Re: last-child pseudo-class bug?

On Mon, Dec 18, 2006 at 10:36:56AM -0500, Chris Bell wrote:
> One of my style sheets no longer validates ( 
> http://boatingbeta.com/css/layout.css ).
> 
> The error message I receive is: "Unknown pseudo-element or pseudo-class 
> :last-child"
> 
> Is this a bug?

The default profile for the CSS Validator is now CSS 2.1, as you
haven't said otherwise, I assume this is what you are using.

CSS 2.1 doesn't define :last-child ...

  http://www.w3.org/TR/CSS21/selector.html#q15

... so no, it is not a bug.

-- 
David Dorward                                      http://dorward.me.uk

Received on Tuesday, 19 December 2006 14:49:43 UTC