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

Re: [css3-fonts] @font-face

From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Date: Wed, 27 Oct 2010 09:53:36 +0200
Message-ID: <4CC7DA80.8090203@disruptive-innovations.com>
To: John Daggett <jdaggett@mozilla.com>
CC: www-style@w3.org
Le 27/10/10 07:36, John Daggett a écrit :

>>     @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.

I think I got your point; something like:

   @font-face rules included in a stylesheet loaded for a list of
   destination media (see [CSSMQ]) are available only if the document
   is currently rendered on a medium of that list.

?

</Daniel>
Received on Wednesday, 27 October 2010 07:54:18 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:33 GMT