W3C home > Mailing lists > Public > www-validator-css@w3.org > December 2006

Re: last-child pseudo-class bug?

From: David Dorward <david@dorward.me.uk>
Date: Tue, 19 Dec 2006 14:49:26 +0000
To: Chris Bell <bell@unca.edu>
Cc: www-validator-css@w3.org
Message-ID: <20061219144926.GC12688@us-lot.org>

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

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:19:07 UTC