Re: [css-fonts] Does @font-face v. ruleset order matter?

On Wed, Sep 24, 2014 at 6:30 PM, John Daggett <jdaggett@mozilla.com> wrote:
> Tab Atkins wrote:
>> Relative ordering of @font-face and normal rules makes no difference
>> to the use of those font faces; CSS is a properly declarative
>> language, and doesn't have that sort of ordering dependence between
>> resources and links.
>>
>> Since you don't care about preserving the overall stylesheet order,
>> feel free to reorganize the @font-face rules, or stash them in a
>> separate stylesheet.
>
> The order of @font-face rules relative to style rules doesn't
> matter. The relative order of @font-face rules *does* matter since
> it influences the order in which fonts are loaded.

Yup, that's what I was talking about.  Apologies if it was unclear,
but it appears that Shawn got what I intended.  (They'd already
expressed in the OP that they're aware the relative ordering of
@font-face rules with each other is important to preserve.)

~TJ

Received on Thursday, 25 September 2014 17:58:18 UTC