W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2012

Re: [DOM4] Mutation algorithm imposed order on document children

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 12 Jun 2012 00:17:18 -0400
Message-ID: <4FD6C2CE.2050706@mit.edu>
To: public-webapps@w3.org
On 6/11/12 7:39 PM, Elliott Sprehn wrote:
> After discussing this with some other contributors there were questions
> on why we're enforcing the order of the document child nodes.

Because otherwise serialization of the result would be ... very broken?

> Can we leave the behavior when your document is out of order unspecified?

You mean allow UAs to throw or not as they wish?  That seems like a 
pretty bad idea, honestly.  We should require that the insertion be 
allowed (and then specify what DOM it produces) or require that it throw.

-Boris
Received on Tuesday, 12 June 2012 04:17:50 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:52 GMT