Re: shorthand font property bug
"Jukka K. Korpela" <[email protected]> Mon, 14 May 2012 08:02:14 +0300
| Newsgroups | gmane.org.w3c.validator.css |
|---|---|
| Message-ID | <[email protected]> |
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