- From: Cameron McCormack <cam@mcc.id.au>
- Date: Mon, 27 Jul 2009 18:17:39 +1000
- To: Anne van Kesteren <annevk@opera.com>
- Cc: Jeff Schiller <codedread@gmail.com>, www-svg <www-svg@w3.org>
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 UTC