W3C home > Mailing lists > Public > public-webapi@w3.org > May 2008

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

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Fri, 02 May 2008 22:35:35 +0200
Message-ID: <481B7B17.5090907@lachy.id.au>
To: Boris Zbarsky <bzbarsky@MIT.EDU>
Cc: "Web APIs WG (public)" <public-webapi@w3.org>

Boris Zbarsky wrote:
> 
> Lachlan Hunt wrote:
>> WebKit:    Throws SYNTAX_ERR for both
> 
> For what it's worth, this is what Gecko's implementation currently does 
> as well.

That's probably the most sensible behaviour.

>> IE 8 Beta: Returns null or empty NodeList
>> Opera:     Returns null or empty NodeList
> 
> What do they do if there is an element named <null> in the document?

IE 8 Beta: Returns null or empty NodeList
Opera:     Returns the <null> element, or a NodeList with all of them.
            Similarly for undefined.

-- 
Lachlan Hunt - Opera Software
http://lachy.id.au/
http://www.opera.com/
Received on Friday, 2 May 2008 20:36:12 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 2 May 2008 20:36:12 GMT