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/