- From: fantasai <fantasai.lists@inkedblade.net>
- Date: Wed, 27 Oct 2010 00:34:24 -0700
- To: John Daggett <jdaggett@mozilla.com>
- CC: Daniel Glazman <daniel.glazman@disruptive-innovations.com>, www-style@w3.org
On 10/26/2010 10:36 PM, John Daggett wrote: > >> 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. And by media queries you mean @media rules? ~fantasai
Received on Wednesday, 27 October 2010 07:35:01 UTC