W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2012

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

From: Elliott Sprehn <esprehn@gmail.com>
Date: Thu, 14 Jun 2012 10:31:55 -0700
Message-ID: <CAPJYB1j9bBC9YZ5j5qLTnVXr-+fLMe1bPKUkZZk36WR=ba+=9A@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: Ojan Vafai <ojan@chromium.org>, Anne van Kesteren <annevk@annevk.nl>, Ryosuke Niwa <rniwa@webkit.org>, www-dom <www-dom@w3.org>
Out of curiosity why does allowing extra elements complicate this? The root
is document.documentElement and the doctype is document.doctype.

Gecko actually traverses document.childNodes when doing layout?

On Thu, Jun 14, 2012 at 10:29 AM, Boris Zbarsky <bzbarsky@mit.edu> wrote:

> On 6/14/12 1:28 PM, Ojan Vafai wrote:
>
>> Would allowing extra DocTypes or a DocType after the element complicate
>> Gecko's implementation?
>>
>
> Offhand, I would guess not, though some code would need auditing.
>
> Allowing extra elements definitely would.
>
> -Boris
>
Received on Thursday, 14 June 2012 17:32:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:09 GMT