Re: setAttributeNS(): should it change the namespace prefix?

FYI, IE9 also says "e:a".

- Ryosuke

On Tue, Nov 29, 2011 at 8:22 AM, Anne van Kesteren <annevk@opera.com> wrote:

> document.head.setAttributeNS("**test", "x:a", "a")
> document.head.setAttributeNS("**test", "e:a", "b")
>
> Should the result be an attribute "x:a" or "e:a"? Gecko says "e:a",
> Opera/Webkit say "x:a". Making the prefix member of an attribute completely
> immutable seems somewhat preferable to me. Opinions?
>
>
> --
> Anne van Kesteren
> http://annevankesteren.nl/
>
>

Received on Thursday, 1 December 2011 09:02:05 UTC