W3C home > Mailing lists > Public > www-validator-css@w3.org > April 2009

Non-ascii characters in selectors

From: Nikolay Bachiyski <nikolay@automattic.com>
Date: Tue, 28 Apr 2009 15:02:52 +0300
Message-ID: <49F6F06C.9050404@automattic.com>
To: www-validator-css@w3.org
I tried to validate the following CSS:

@charset "UTF-8";
..баба {
	font-weight: bold;
}

and got the following error:

Parse Error  .1010 { font-weight: bold; }

I tried with or without the @charset instruction.

The CSS grammar says it's OK to use unicode in selectors:

"http://www.w3.org/TR/2005/WD-css3-selectors-20051215/#grammar

Happy hacking,
Nikolay.
Received on Tuesday, 28 April 2009 13:34:32 GMT

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