W3C home > Mailing lists > Public > www-svg@w3.org > July 2009

Re: Some thoughts on DOM 2.0, Simpler

From: Anne van Kesteren <annevk@opera.com>
Date: Mon, 27 Jul 2009 10:05:17 +0200
To: "Cameron McCormack" <cam@mcc.id.au>, "Jeff Schiller" <codedread@gmail.com>
Cc: www-svg <www-svg@w3.org>
Message-ID: <op.uxpve3fg64w2qv@annevk-t60>
On Mon, 27 Jul 2009 05:42:08 +0200, Cameron McCormack <cam@mcc.id.au> wrote:
> Jeff Schiller:
>> As a developer, I'd be very much in favor of an E4X-like solution to
>> creating elements (as evidenced by my DOMParser hack on the mailing
>> list).
>
> 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.

Per HTML5 there is no difference between the two. innerHTML on elements however only applies to elements in the HTML namespace.


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Monday, 27 July 2009 08:06:15 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:42 GMT