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

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

From: Cameron McCormack <cam@mcc.id.au>
Date: Sun, 17 May 2015 15:49:53 +1000
To: www-style@w3.org
Message-ID: <20150517054952.GA31126@wok.mcc.id.au>
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

Cameron McCormack ≝ http://mcc.id.au/
Received on Sunday, 17 May 2015 05:50:20 UTC

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