W3C home > Mailing lists > Public > www-style@w3.org > July 2012

RE: [css2.1][css3-fonts] keywords in unquoted font family names

From: Sylvain Galineau <sylvaing@microsoft.com>
Date: Mon, 2 Jul 2012 20:10:50 +0000
To: Anton Prowse <prowse@moonhenge.net>, "www-style@w3.org" <www-style@w3.org>
CC: Bert Bos <bert@w3.org>, John Daggett <jdaggett@mozilla.com>
Message-ID: <3C4041FF83E1E04A986B6DC50F0178290AD4D309@TK5EX14MBXC265.redmond.corp.microsoft.com>


[Anton Prowse:] 
> Would the following satisfy all of us?
> 
>    | Unquoted font family names that happen to be the same as the
>    | keyword values 'inherit', 'default' and 'initial' or the
>    | generic font keywords ('serif', 'sans-serif', 'monospace',
>    | 'fantasy', and 'cursive') do not match the '<family-name>'
>    | type.  In order for them to be interpreted as font family names,
>    | these names need to be quoted. Note: for example,
>    | 'font-family: Times, inherit' is an invalid declaration, because
>    | inherit' in that position can neither be a valid keyword
>    | nor a valid font family name.
> 
Very belatedly, I think this is my favorite proposal thus far.
Received on Monday, 2 July 2012 20:11:24 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:56 GMT