Re: Question about new DOM

On Sat, 05 Mar 2011 00:25:43 +0100, Ian Hickson <ian@hixie.ch> wrote:
> On Sat, 5 Mar 2011, Cameron McCormack wrote:
>>
>> Cameron McCormack:
>> > I think it wouldn’t be so unreasonable to have an innerXML …
>>
>> Anne points out:
>>
>>   http://html5.org/specs/dom-parsing.html
>>
>> which defines innerHTML to do XML parsing/serialisation on all elements,
>> if the document is an XML document.
>
> For background, this has been in HTML for a while:
>
>  http://www.whatwg.org/specs/web-apps/current-work/complete.html#innerhtml
>
> I'll be updating HTML relatively soon to just defer to Anne's draft.

FWIW, while I edit DOM Core, Ms2ger is editing DOM Parsing and  
Serialization. Trying to prevent a dependency on HTML in DOM Core.


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

Received on Saturday, 5 March 2011 09:15:43 UTC