Re: Some thoughts on DOM 2.0, Simpler

On Mon, 27 Jul 2009 10:17:39 +0200, Cameron McCormack <cam@mcc.id.au> wrote:
> 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).

I would not be opposed (and cannot really think of a downside). The name is indeed somewhat unfortunate, but we're pretty much stuck with it.


-- 
Anne van Kesteren
http://annevankesteren.nl/

Received on Monday, 27 July 2009 08:24:26 UTC