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

Re: [css-font-loading] default value of CSSFontFaceLoadEventInit.fontfaces

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 16 Jun 2014 09:27:34 -0700
Message-ID: <CAAWBYDBUjzMOxapd5G0JAGuwmB+cw-Q0fRrEREdyYFe9ZFpd+w@mail.gmail.com>
To: Cameron McCormack <cam@mcc.id.au>
Cc: "www-style@w3.org" <www-style@w3.org>
On Sun, Jun 15, 2014 at 11:05 PM, Cameron McCormack <cam@mcc.id.au> wrote:
> The spec defines CSSFontFaceLoadEventInit as:
>
>   dictionary CSSFontFaceLoadEventInit : EventInit {
>     sequence<CSSFontFaceRule> fontfaces = null;
>   };
>
> but null is not a value of type sequence<CSSFontFaceRule>.  I just fixed
> https://www.w3.org/Bugs/Public/show_bug.cgi?id=25391 so that  you can write
> [] to mean an empty sequence, assuming that you don't want to distinguish an
> empty sequence from a special null value.

Fixed, thanks!  (Though now I need plinss to fix widlparser to accept
that, so I don't need to force-generate the spec.)

~TJ
Received on Monday, 16 June 2014 16:28:24 UTC

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