W3C home > Mailing lists > Public > public-html@w3.org > June 2008

Re: When can a node's prefix or localName contain a colon?

From: Simon Pieters <simonp@opera.com>
Date: Mon, 02 Jun 2008 13:44:49 +0200
To: "Cameron McCormack" <cam@mcc.id.au>, public-html@w3.org
Message-ID: <op.ub4dkzgwidj3kv@zcorpandell.linkoping.osa>

On Mon, 02 Jun 2008 11:35:33 +0200, Cameron McCormack <cam@mcc.id.au>  
wrote:

>>    document.body.appendChild(document.createElement('foo:bar'));
>
> Shouldn’t localName be null in that case?
>
>   http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-2141741547

Uh, yeah, though I consider that a bug in the DOM Core spec. In Firefox,  
Opera and WebKit localName is not null.

-- 
Simon Pieters
Opera Software
Received on Monday, 2 June 2008 11:45:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:18 GMT