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

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.


Michael Xia

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:01:04 UTC