W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2008

Re: [selectors-api] Extended Attribute [NoNull] in the IDL

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Wed, 09 Jul 2008 15:08:53 +0200
Message-ID: <4874B865.5050306@lachy.id.au>
To: Boris Zbarsky <bzbarsky@MIT.EDU>
Cc: public-webapps <public-webapps@w3.org>

[snip - lots of discussion about how to handle null and undefined as the 
selector parameter]

Boris Zbarsky wrote:
> In that case, the null behavior doesn't make any sense to me...  I would 
> expect querySelector(null) to either behave as querySelector("null") (as 
> in Opera) or as querySelector("") (as in Gecko and apparently Webkit)...

This issue was addressed after WebIDL was updated to handle this case. 
The spec now defines null and undefined to be treated the same as empty 
strings.

Please let me know whether or not you are satisfied with this response.

-- 
Lachlan Hunt - Opera Software
http://lachy.id.au/
http://www.opera.com/
Received on Wednesday, 9 July 2008 13:09:32 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:27 GMT