W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2013

Re: [DOM4] Short and Efficent DOM Traversal

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Sun, 28 Jul 2013 09:06:33 -0700
Message-ID: <CAAWBYDCh4EDzJh6q6S2op41p8jaSk4==ppCrTh743S85mdfi=Q@mail.gmail.com>
To: Fran├žois REMY <francois.remy.dev@outlook.com>
Cc: Jonas Sicking <jonas@sicking.cc>, "public-webapps@w3.org" <public-webapps@w3.org>, DOM WG <www-dom@w3.org>
On Sat, Jul 27, 2013 at 9:49 PM, Fran├žois REMY
<francois.remy.dev@outlook.com> wrote:
> Is there any reason everybody hate TreeWalker?

I hate TreeWalker because it's an iterator but not an ES Iterator.
DOM is broken, legacy cruft, etc.

I'm fine with something that exposes TreeWalker's abilities to start
from a given node, but that returns an ES iterator, like Domenic says.

Given that we can overload the arguments, as you describe, I'm okay
with reusing the existing method for this.

Received on Sunday, 28 July 2013 16:07:19 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:37:03 UTC