- From: Yves Lafon <ylafon@w3.org>
- Date: Mon, 4 Jun 2012 10:39:15 -0400 (EDT)
- To: Jay Cornell <jay.cornell@gmail.com>
- cc: www-validator-css@w3.org
On Thu, 3 May 2012, Jay Cornell wrote: > I have used the validator for years, but suddenly standard font declaration > shorthand is not validating, apparently because of the slash between the > font-size and line-height. Thus this code: > > p { font: 11px/14px Arial, Helvetica, sans-serif; } > > > gives this error: > > Value Error : font / is not a font-family value : 11px / 14px > Arial,Helvetica,sans-serif > > > But without the slash and the line-height value it validates: > > p { font: 11px Arial, Helvetica, sans-serif; } > > > Even the W3C's own first example here gives the same validation error! > > http://www.w3.org/TR/CSS2/fonts.html#font-shorthand > > p { font: 12px/14px sans-serif } > Yes, the parsing is broken, font-* is next on the line for a major lifting. Cheers, > > > Thank you, > > --Jay Cornell > > > -- Baroula que barouleras, au tiéu toujou t'entourneras. ~~Yves
Received on Monday, 4 June 2012 14:44:14 UTC