Cameron McCormack: > > HTML 5 defines innerHTML to work on XML documents (where assigning to it > > would parse the string parameter as XML, predeclaring any namespaces > > that are available on the element). I’m not sure if this applies to all > > XML documents supported by the UA (like when showing a standalone SVG > > document) or just XHTML documents. Anne van Kesteren: > Per HTML5 there is no difference between the two. innerHTML on > elements however only applies to elements in the HTML namespace. Ah, of course; innerHTML is on HTMLElement. I wonder if there would be any downsides to moving innerHTML to Element (apart from the misleading name). -- Cameron McCormack ≝ http://mcc.id.au/Received on Monday, 27 July 2009 08:18:31 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 July 2009 08:18:35 GMT