W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2006

[whatwg] innerHTML and QNames

From: Simon Pieters <zcorpan@hotmail.com>
Date: Tue, 03 Oct 2006 13:45:27 +0000
Message-ID: <BAY109-F38AED354FEFF52E1BF5BE8B41C0@phx.gbl>
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
Received on Tuesday, 3 October 2006 06:45:27 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:48 UTC