Re: [css3-fonts] duplication and @font-face rules

> It allows you to define font families with intelligent fallback:
> 
> @font-face {
>      font-family: MyFont;
>      src: local("Times New Roman"), local("OpenSymbol"), ...
> }
> 
> In the Prince default style sheets we actually use this to predefine the 
> default font families such as "serif" and "sans-serif".

So 

  body { font-family: MyFont; }
  
is just an alias for

  body { font-family: "Times New Roman", "OpenSymbol"; }
  
Wouldn't CSS variables be more appropriate in this case?

John Daggett
Mozilla Japan

Received on Wednesday, 12 November 2008 07:12:55 UTC