W3C home > Mailing lists > Public > www-validator-css@w3.org > March 2012

Numeric values not recognized for font-weight

From: Jukka K. Korpela <jukka.k.korpela@kolumbus.fi>
Date: Sat, 17 Mar 2012 07:56:18 +0200
Message-ID: <4F642782.70501@kolumbus.fi>
To: www-validator-css@w3.org
Example: using default settings, direct input of

h2 { font-weight: 600; }

causes the error message

Value Error : font-weight 600 is not a font-weight value : 600

This seems to happen for all numeric values, i.e. only keyword values 
like bold are accepted for font-weight. Happens in checking via URL too, 
and when using CSS level 3.

So it looks like a bug in the routine for parsing font-weight value.

-- 
Yucca, http://www.cs.tut.fi/~jkorpela/
Received on Saturday, 17 March 2012 05:56:41 GMT

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