W3C home > Mailing lists > Public > public-css-testsuite@w3.org > October 2010

Re: font-051/052/053/054/055/056 invalid (system font keywords are ok font families)

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Fri, 15 Oct 2010 23:35:47 +0200
To: Arron Eicholz <Arron.Eicholz@microsoft.com>
Cc: "public-css-testsuite@w3.org" <public-css-testsuite@w3.org>
Message-ID: <eqhhb6pi2q6l35402r549q3b6fmpp2ivss@hive.bjoern.hoehrmann.de>
* Arron Eicholz wrote:
>According to section 15.8  of the CSS 2.1 spec it clearly identifies
>that the values for 'caption', 'icon', 'menu', 'message-box',
>'small-caption' and 'status-bar' cannot be mixed with any other font
>values in the font shorthand. The shorthand clearly identifies this
>restriction by using a single bar '|' meaning 'or' and all the
>individual font properties are grouped by the [ ]. This would mean
>'font: 32pt caption' is not valid and must be ignored.

While "caption" in `font: caption` has a special meaning, it does not
have one in `font: 32px caption`. It's just like `font: 32px Verdana`.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Friday, 15 October 2010 21:36:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 15 October 2010 21:36:30 GMT