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

Re: shorthand font property bug

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Mon, 14 May 2012 08:02:14 +0300
Message-ID: <4FB091D6.1040204@cs.tut.fi>
To: denis bayly <coothead@wittsend154.freeserve.co.uk>
CC: www-validator-css@w3.org
2012-05-13 12:49, denis bayly wrote:

> this...
>
> body {
> font:normal small-caps 120%/120% 'times new roman',serif;
> }
>
> ...gives this information...
>
>
> 4 	body 	Value Error : font
> <http://jigsaw.w3.org/css-validator/nullfonts.html#propdef-font> / is
> not a font-family value : normal small-caps 120% / 120% 'times new
> roman',serif
>
>
> ...which, I assume, must be a bug in the system. ;-)

Yes, it is a bug, and it was reported ten days ago:
http://lists.w3.org/Archives/Public/www-validator-css/2012May/0003.html

If you would like to circumvent the bug, divide the font settings to 
separate settings, like font-family: 'times new roman',serif. This might 
be a good idea in general, because shorthands tend to be confusing to 
read and modiy.

Yucca
Received on Monday, 14 May 2012 05:02:46 GMT

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