- From: Daniel Lorch <daniel@lorch.cc>
- Date: Wed, 03 Jan 2007 16:21:35 +0100
- To: www-validator-css@w3.org
Hi 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). Could someone please point me in the right direction? Here's a link to the validation page: http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fnine.ch%2Fcss%2Fscreen.css&warning=1&profile=css21&usermedium=all If I change "profile" to "css3", the stylesheet will pass. This really bugs me, since my website is valid XHTML 1.0 Strict (even with application/xhtml+xml), it has a valid CSS 3.0 stylesheet, a valid RSS 2.0 feed, has microformats embedded and was designed with accessibility in mind. I'm a total webstandards junkie and it really, really annoys me that I'm getting an error message here. Please someone put me out of my mysery :) Daniel
Received on Wednesday, 3 January 2007 17:50:44 UTC