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

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

From: Cameron McCormack <cam@mcc.id.au>
Date: Mon, 16 Jun 2014 16:05:07 +1000
Message-ID: <539E8913.6060108@mcc.id.au>
To: "www-style@w3.org" <www-style@w3.org>
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.
Received on Monday, 16 June 2014 06:04:51 UTC

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