[whatwg] innerHTML and QNames

Simon Pieters zcorpan at hotmail.com
Tue Oct 3 06:45:27 PDT 2006


Hi,

On getting .innerHTML the spec says that the tag name is used to serialize 
tags. However, Opera and Firefox use the local name. Also, it isn't certain 
that element names and attribute names will be all lower-case.

   
http://simon.html5.org/test/html/dom/the-document/dynamic/in-html/demo.htm

However, it seems IE does return the QName for elements and attributes...:

   
http://simon.html5.org/test/html/dom/the-document/dynamic/in-html/ie-demo.htm

I'd rather the spec followed Opera and Firefox here though (i.e., use the 
local name).

Regards,
Simon Pieters





More information about the whatwg mailing list