Re: outerHTML/insertAdjecentHTML in XML mode

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