Re: Numeric values not recognized for font-weight

Yves Lafon <[email protected]> Mon, 26 Mar 2012 05:16:44 -0400 (EDT)
Newsgroups gmane.org.w3c.validator.css
Message-ID <[email protected]>
On Sat, 17 Mar 2012, Jukka K. Korpela wrote:

> 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.

Yes, this is a bug introduced by a modification of the way numbers are 
handled. Good that we are adding unit tests for that (not complete yet, so 
thank you for the heads-up!)

-- 
Baroula que barouleras, au tiƩu toujou t'entourneras.

         ~~Yves