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

Re: [css3-fonts] @font-face

From: John Daggett <jdaggett@mozilla.com>
Date: Tue, 26 Oct 2010 22:36:28 -0700 (PDT)
To: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Cc: www-style@w3.org
Message-ID: <1736158743.194104.1288157788265.JavaMail.root@cm-mail03.mozilla.org>

> 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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:40 UTC