W3C home > Mailing lists > Public > www-style@w3.org > August 2006

Re: Web Fonts

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 24 Aug 2006 08:46:51 +0000 (UTC)
To: Chris Lilley <chris@w3.org>
Cc: David Hyatt <hyatt@apple.com>, www-style@w3.org
Message-ID: <Pine.LNX.4.62.0608240844400.10139@dhalsim.dreamhost.com>

On Thu, 24 Aug 2006, Chris Lilley wrote:
>> Wouldn't it be sufficient to simply support the addition of URIs to 
>> font-family?
> That would be a highly backwards-incompatible change!

Actually, it would be completely backwards compatible, because CSS has 
very specific forwards-compatibility rules for exactly this situation. 
It's the same as the way we extended <color> in CSS2.1 and CSS3, it 
doesn't break all the previous properties in CSS1.

For example, you could do:

   p { font-family: My Font, Other Font, serif;
       font-family: My Font, url(myfont.zip), Other Font, serif; }

...and it would work in down-level UAs and new UAs just as you would want.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 24 August 2006 08:47:09 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:25 UTC