W3C home > Mailing lists > Public > www-style@w3.org > July 2014

Re: [css-font-loading] FontFace.status when constructed with invalid family name or descriptors

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 7 Jul 2014 13:03:42 -0700
Message-ID: <CAAWBYDCYp6TWvSZ+PwU41Jx=zEe5s=q-WogKNZO7jr=NkQC29A@mail.gmail.com>
To: Cameron McCormack <cam@mcc.id.au>
Cc: "www-style@w3.org" <www-style@w3.org>
On Fri, Jul 4, 2014 at 6:26 PM, Cameron McCormack <cam@mcc.id.au> wrote:
> Should FontFace.status be set to "error" when the FontFace is constructed
> with an invalid font family name or with invalid values for it descriptors?
> The FontFace.loaded promise is rejected, so to parallel when it was the
> actual font data that was invalid, it might make sense to set status to
> "error" here too.

Makes sense.  Done.

~TJ
Received on Monday, 7 July 2014 20:04:28 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:23 UTC