W3C home > Mailing lists > Public > www-style@w3.org > May 2015

Re: [css-font-loading] FontFaceSet.load and failed FontFace loads

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Sun, 17 May 2015 06:09:06 -0700
Message-ID: <CAAWBYDAXpRrsVVCvkOEHp0BAQf_0jD+0=oMDmzwJ8pigfx--=w@mail.gmail.com>
To: www-style list <www-style@w3.org>
On May 17, 2015 1:53 AM, "Cameron McCormack" <cam@mcc.id.au> wrote:
>
> The definition for FontFaceSet.load says that the promise that’s
> returned is resolved with the result of waiting for each of the promises
> that come from calling load on each matching FontFace.  I’m assuming
> that this is meant to be the same as calling Promise.all, but that’s
> not said, and Promise.all requires specific behaviour such as
> rejecting the promise as soon as one of its dependent promises is
> rejected.  So if that behaviour is desired, Promise.all should be
> mentioned.

That's actually meant to be a term of art from the Promises spec. Yes, it's
Promise.all().

I'll poke at the spec again and see if it's properly linkable now.

~TJ
Received on Sunday, 17 May 2015 13:09:38 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:54 UTC