W3C home > Mailing lists > Public > www-validator-css@w3.org > January 2007

Re: :last-child pseudo element

From: olivier Thereaux <ot@w3.org>
Date: Wed, 3 Jan 2007 13:21:24 -0500
Message-Id: <4CE15056-D800-4401-9C4B-3733E1BABDBE@w3.org>
Cc: CSS validator list <www-validator-css@w3.org>
To: Daniel Lorch <daniel@lorch.cc>

Hello Daniel,

On Jan 3, 2007, at 10:21 , Daniel Lorch wrote:
> It seems that with a recent update, the validator now choses to  
> validate
> against CSS version 2.1 by default. When I validate my stylesheet,  
> this
> gives be an "Unknown pseudo-element or pseudo-class :last-child" error
> message, since that pseudo element is only defined in CSS 3. Is  
> there a
> way to specify the CSS version used (something like a DTD for CSS?). I
> wasn't able to find anything, neither in Google nor in the specs  
> (maybe
> I wasn't reading carefully enough).

There is no way to specify which version of CSS your stylesheet is  

I have seen a lot of discussion on the matter, and suggestions of  
constructs such as "@version 3;" but for now, the general opinion of  
the group building the CSS specifications is that it is not desireable.

If you feel this is a bad thing hindering your adoption of CSS3, you  
could make your opinion known to the CSS working group by using the  
public www-style@w3.org mailing-list, where discussions on style  
sheet languages take place.

Received on Wednesday, 3 January 2007 18:21:45 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:40:43 UTC