Re: [css3-fonts] @font-face

> Currently implementing webfonts in BlueGriffon, I discovered
> that the section of CSS 3 Fonts on @font-face does not say
> that @font-face is allowed anywhere in a stylesheet nor that order
> of an @font-face at-rule and style rules using it does not matter.
> It's probably worth a note. Proposed prose:
> 
>    @font-face rules can be inserted anywhere in a stylesheet but cannot
>    be nested inside another at-rule. The corresponding fonts are made
>    available to the whole document, including style rules that happen
>    before the at-rule in stylesheet's parsing order, in imported
>    stylesheets, in other stylesheets and their imported stylesheets
>    and in inline styles.

This makes sense but I think we should explicitly state that @font-face
rules are allowed in media queries.

John Daggett

Received on Wednesday, 27 October 2010 05:37:01 UTC