Validation CSS2.1字体重量验证失败

Validation CSS2.1字体重量验证失败,validation,fonts,css,css-validator,Validation,Fonts,Css,Css Validator,在CSS2.1标准中,我看到font-weight存在: 但我在验证时遇到以下错误: 50 h2 Value Error : font-weight 600 is not a font-weight value : 600 53 h5 Value Error : font-weight 900 is not a font-weight value : 900 95 div#logo Value Error : font-weight 600 is not a font-w

在CSS2.1标准中,我看到
font-weight
存在:

但我在验证时遇到以下错误:

50   h2  Value Error : font-weight 600 is not a font-weight value : 600
53   h5  Value Error : font-weight 900 is not a font-weight value : 900
95   div#logo    Value Error : font-weight 600 is not a font-weight value : 600
470  .contactInfoLink a  Value Error : font-weight 800 is not a font-weight value : 800

为什么?

忽略它。这是一个有效值。CSS验证软件中可能有一个bug。我收到的最值得注意的一条:
解析错误[空字符串]
。这难道不是一个可爱而详细的错误吗?不管怎样,这些错误偶尔会出现。我们对此无能为力。

这显然是W3C CSS验证程序的一个缺陷,可能是最近出现的。它似乎将
font-weight
的所有数值报告为错误。我已经提交了一份错误报告:
我也遇到了同样的问题;在谷歌上搜索我收到的错误信息,让我想到了这个问题。我碰巧遇到的不仅是
解析错误[empty string]
,还有
字体重量
问题,还有
word wrap
的验证器问题,即
break word
不存在


中断字
错误已确认。听起来这个bug很老了。

word wrap:break word从来都不是有效的CSS,所以这不是验证程序bug。看看细节。哦,真的吗?那好吧。我错了。谢谢你澄清:D