Skip to content

DOM Level 2 Traversal #539

Closed
dvogel opened this Issue Dec 11, 2012 · 4 comments

3 participants

@dvogel
dvogel commented Dec 11, 2012

jsdom is currently missing the document traversal interfaces NodeIterator, NodeFilter, and TreeWalker. These aren't part of the core spec but their absence makes it more difficult to write efficient code that runs on both the client and the server.

@domenic
Collaborator
domenic commented Dec 16, 2012

Is there any spec in which they are present? jsdom is an implementation of the "W3C DOM," so if there's no W3C spec for it, it's out of scope. But if there's e.g. a DOM Traversal spec, then this is definitely a missing feature.

@domenic
Collaborator
domenic commented Dec 16, 2012

Oh, whoops, I found it: DOM Level 2 Traversal and Range.

@adrianheine

Derbyjs currently uses TreeWalkers in their front-end code. I’ll probably try to implement them soon.

@adrianheine

btw, this is a duplicate of #317; I suggest we move to that one.

@domenic domenic closed this May 13, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.