Re: Numeric values not recognized for font-weight

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

Received on Monday, 26 March 2012 09:16:47 UTC