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

Failed to validate certain font family in CSS file

From: Michael Xia <mxia@aptana.com>
Date: Tue, 9 Jun 2009 12:52:27 -0700
Message-ID: <65c860ff0906091252t1095b4d7la8081081df055052@mail.gmail.com>
To: www-validator-css@w3.org
Hi,

We ran into an issue with following css stylesheet:

body {font-family: 宋体-GB18030; font-size:14px}
li {margin-bottom:14px}
code {font-size:14px}
input {font-size:12px; margin-top:10px; font-weight:bold}

where the validator would indicate there is a lexical error in the "body"
line as it couldn't interpret the 2-byte Chinese font characters, even
though it does exist in the local Windows system.  We also tried to add
"@charset GB18030" at the top, and that didn't help either.  Is this a bug
with the validator, or is there other specification that we're missing?
Thanks very much.

Regards,
Michael

-- 
Michael Xia
mxia@aptana.com

Twitter: http://twitter.com/aptana
Facebook: http://aptana.com/facebook
Received on Wednesday, 10 June 2009 06:51:43 GMT

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