- From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
- Date: Fri, 02 May 2008 22:35:35 +0200
- 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 UTC