W3C home > Mailing lists > Public > public-html@w3.org > January 2009

Re: outerHTML/insertAdjecentHTML in XML mode

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 29 Jan 2009 05:23:14 +0000 (UTC)
To: Jonas Sicking <jonas@sicking.cc>
Cc: "public-html@w3.org" <public-html@w3.org>
Message-ID: <Pine.LNX.4.62.0901290515050.14270@hixie.dreamhostps.com>

On Fri, 19 Dec 2008, Jonas Sicking wrote:
> Is there a reason to not allow outerHTML and insertAdjecentHTML in XML 
> serialized HTML documents?
> It seems to me like the cost of supporting them is minimal given that 
> almost all (if not all) the code will exist since innerHTML is supported 
> anyway. And it's nice to be consistent across XML and HTML modes.
> There's also the argument that if outerHTML/insertAdjecentHTML is 
> popular enough that we're adding them to HTML, why would they be less 
> popular in XML serialized documents?

I've added them (though not document.write()), along with a big reorg of 
the way HTML5 works with XML.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 29 January 2009 05:23:52 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:44:42 UTC