W3C home > Mailing lists > Public > www-style@w3.org > March 2010

Re: [css3-fonts] font-specific feature handling

From: David Singer <singer@apple.com>
Date: Fri, 19 Mar 2010 00:14:11 -0400
Cc: www-style@w3.org
Message-Id: <FF51D754-4818-49C3-A9F0-F2D8E182985C@apple.com>
To: John Daggett <jdaggett@mozilla.com>
so, why doesn't the font-name appear in the font-variant rule?  I must be being dense...

instead of

On Mar 18, 2010, at 10:31 , John Daggett wrote:
>  @font-face {
>    font-family: MyFancyFont;
>    font-variant: styleset(1,3);
>  }
> 

we write
 @font-face {
   font-family: MyFancyFont;
   font-variant: styleset(MyFancyFont , 1,3);
 }

which leaves us open to different style-sets for different fonts, which means you could customize your fallbacks (or even your expected substitutions) through multiple font-variant rules...


David Singer
Multimedia and Software Standards, Apple Inc.
Received on Friday, 19 March 2010 04:14:44 GMT

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