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

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