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

font-weight: number - not supported?

From: A. Riddering / exklusive-standards.de <riddering@exklusive-standards.de>
Date: Fri, 13 Apr 2012 11:23:07 +0200
Message-ID: <7CFCF1684DA84AE39F8F13B8917B6A18@andreaspc>
To: <www-validator-css@w3.org>
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.

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
Received on Monday, 16 April 2012 10:21:31 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:01:11 UTC