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

Re: font-weight: number - not supported?

From: Yves Lafon <ylafon@w3.org>
Date: Tue, 1 May 2012 09:21:58 -0400 (EDT)
To: "A. Riddering / exklusive-standards.de" <riddering@exklusive-standards.de>
cc: www-validator-css@w3.org
Message-ID: <alpine.DEB.1.10.1205010920270.10318@wnl.j3.bet>
On Fri, 13 Apr 2012, A. Riddering / exklusive-standards.de wrote:

> Hi,
>
> for CSS level 3 the second example throws an error:
> @font-face
> {
> font-family: 'ArialNarrow';
> font-style: normal;
> font-weight: bold;
> src: local('ArialNarrow');
> }
>
> @font-face
> {
> font-family: 'ArialNarrow2';
> font-style: normal;
> font-weight: 200;
> src: local('ArialNarrow');
> }
>
> it sais, that 200 ist not a font-weight value.

It was fixed in the previous round... but there was a missing fix needed 
for CSS2's @font-face definition (which is reused by the css3 profile for 
now, until css3-font is implemented).
So it should be ok now.
Cheers,

> i guess thats a fault!?
> http://www.w3.org/TR/CSS2/fonts.html#font-boldness
>
> this one works fine:
>
> #selector {
> font-weight: 200;
> }
>
> kind regards
>
> Andreas Riddering
>
> -----------------------
>
> exklusive standards GbR
> Dürerstraße 1, 48147 Münster
> www.exst.de
>
> Tel.: +49 251 / 57 99 848 - 0
> Fax.: +49 251 / 57 99 848 - 9
>
>
>
>

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

         ~~Yves
Received on Tuesday, 1 May 2012 13:22:02 GMT

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