W3C home > Mailing lists > Public > www-validator-css@w3.org > February 2008

Re: Unknown pseudo-element or pseudo-class :first-child

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Wed, 20 Feb 2008 17:51:51 +0200
Message-ID: <01b201c873d8$86c3acc0$0300000a@DOCENDO>
To: "Anthony Ettinger" <anthony@chovy.com>, <www-validator-css@w3.org>

Anthony Ettinger wrote:

> 7    Unknown pseudo-element or pseudo-class :first-child
> 9 Unknown pseudo-element or pseudo-class :first-child
> 12 Unknown pseudo-element or pseudo-class :first-child
> 15 Unknown pseudo-element or pseudo-class :hover
>
> This seems odd to me...I get this error using the File Upload css
> validator

It's generally best to upload the style sheet onto a web server and 
include the URL into a problem report. (For a very short style sheet, 
you might include it into the report directly.) Moreover, make sure you 
specify which options you used if you have changed anything to deviate 
from the defaults.

In this case, it seems that you are using the CSS 1 "profile", i.e. you 
are asking the W3C CSS Validator to check against the CSS 1 
specification. The default is CSS 2.1, which is the best approximation 
to existing browser support and the de-facto "standard" for CSS.


Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/ 
Received on Wednesday, 20 February 2008 15:53:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 June 2012 00:14:20 GMT