W3C home > Mailing lists > Public > public-webapi@w3.org > March 2008

Re: [Element Traversal LC] access to element by index

From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Date: Fri, 28 Mar 2008 20:15:22 +0100
Message-ID: <47ED43CA.1080303@disruptive-innovations.com>
To: Doug Schepers <schepers@w3.org>
Cc: Boris Zbarsky <bzbarsky@MIT.EDU>, "Web APIs WG (public)" <public-webapi@w3.org>

Doug Schepers wrote:

> Since Selectors API is meant to be a more comprehensive API than Element 
> Traversal, I would expect it to be able to deal with this more general 
> use case Daniel mentions, and personally would prefer to increase the 
> comprehensive functionality of that spec over Element Traversal, which 
> is meant to be more lightweight.

Ah. Adding

   NodeList    childElements;

is not lightweight ? It's incredibly simple, totally coherent with
what the DOM already offers, and web authors are perfectly used to
NodeList.

</Daniel>
Received on Friday, 28 March 2008 19:15:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 28 March 2008 19:15:57 GMT