Re: Web Fonts

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