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

Incorrect font shorthands (e.g., font: Arial) pass validation

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Tue, 06 Nov 2012 07:58:30 +0200
Message-ID: <5098A706.8040603@cs.tut.fi>
To: "www-validator-css@w3.org" <www-validator-css@w3.org>
I noticed that
   font: Arial normal
passes validation. Then I checked
   font: Arial
and it passes, too.

This is serious because in addition to being incorrect by the specs, 
these declarations fail to do what they are intended to do. And it is 
fairly common to err here, omitting the required font size value.

-- 
Yucca, http://www.cs.tut.fi/~jkorpela/
Received on Tuesday, 6 November 2012 05:59:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 6 November 2012 05:59:03 GMT