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

Re: [css3-fonts] @font-face

From: John Daggett <jdaggett@mozilla.com>
Date: Wed, 27 Oct 2010 01:34:23 -0700 (PDT)
To: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Cc: www-style@w3.org
Message-ID: <1337872900.194629.1288168463364.JavaMail.root@cm-mail03.mozilla.org>
> >>     @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.

Yeah, something like that.  I think it would just say that @font-face
rules can be used in @media rules and would be used according to whether
those rules applied or not in a given rendering context (see [CSSMQ]).

Cheers,

John Daggett
Received on Wednesday, 27 October 2010 08:34:55 GMT

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