ISSUE-6: Should the ElementTraversal Interface Have a Nodelist?

Element Traversal Nodelist

Should the ElementTraversal Interface Have a Nodelist?

State:
CLOSED
Product:
HISTORICAL: Element Traversal [features subsumed by DOM spec]
Raised by:
Doug Schepers
Opened on:
2008-06-17
Description:
Daniel Glazman requested that a nodelist or item accessor be added to the ET spec, in <http://lists.w3.org/Archives/Public/public-webapi/2008Mar/0226.html>, spawning a long thread.

Doug discussed the history of similar proposals, from himself, Mozilla, and others in <http://lists.w3.org/Archives/Public/public-webapi/2008Mar/0246.html>.

On the plus side, it would allow for discrete access to elements in some use cases, and would be easy to implement for UAs that already have a nodelist implementation. On the downside, it is heavier to implement if the UA doesn't already have nodelist (such as some mobile uses), and ET is already referenced by other specifications.

Related Actions Items:
No related actions
Related emails:
  1. Re: Element Nodelist - ISSUE-6 (was: ElementTraversal progress?) (from jresig@mozilla.com on 2008-07-07)
  2. Re: Element Nodelist - ISSUE-6 (was: ElementTraversal progress?) (from jonas@sicking.cc on 2008-07-06)
  3. Re: Element Nodelist - ISSUE-6 (was: ElementTraversal progress?) (from jresig@mozilla.com on 2008-07-06)
  4. Re: Element Nodelist - ISSUE-6 (from daniel.glazman@disruptive-innovations.com on 2008-06-24)
  5. Re: Element Nodelist - ISSUE-6 (from jonas@sicking.cc on 2008-06-23)
  6. Element Nodelist - ISSUE-6 (was: ElementTraversal progress?) (from schepers@w3.org on 2008-06-23)
  7. Re: ISSUE-6 (Element Traversal Nodelist): Should the ElementTraversal Interface Have a Nodelist? [Element Traversal] (from jonas@sicking.cc on 2008-06-17)
  8. ISSUE-6 (Element Traversal Nodelist): Should the ElementTraversal Interface Have a Nodelist? [Element Traversal] (from sysbot+tracker@w3.org on 2008-06-17)

Related notes:

http://lists.w3.org/Archives/Public/public-webapi/2008May/0490.html

Doug Schepers, 17 Jun 2008, 06:15:23

http://lists.w3.org/Archives/Public/public-webapi/2008Jun/0000.html

Doug Schepers, 17 Jun 2008, 06:15:29

After discussing with various folks (including mobile implementors, the JSR folks, and the SVG WG), I propose that we leave Element Traversal as is, since it is indeed intended to be a traversal interface, and create a new complementary spec, Element Nodelist, which provides a nodelist interface for Elements. It can be implemented easily in a complementary manner, and ET's "childElementCount" attribute can simply alias the ElementNodelist interface's "length" attribute.

Doug Schepers, 17 Jun 2008, 06:19:41

RESOLVED: No, will create separate spec for Element NodeList.

Doug Schepers, 25 Jun 2008, 07:28:40

Display change log ATOM feed


Chair, Staff Contact
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: 6.html,v 1.1 2016/01/25 10:26:22 carine Exp $