W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2001

NodeList (Re: CSS::SAC)

From: Philippe Le Hegaret <plh@w3.org>
Date: Tue, 20 Mar 2001 17:02:40 -0500
Message-ID: <3AB7D380.7BFF0D7C@w3.org>
To: Robin Berjon <robin@knowscape.com>
Cc: Bjoern Hoehrmann <derhoermi@gmx.net>, www-dom@w3.org
(moved from www-style@w3.org to www-dom@w3.org)

Robin Berjon wrote:
> At 05:51 04/03/2001 +0100, Bjoern Hoehrmann wrote:
> >| There is no SelectorList class (for now at least). SelectorLists are
> >| passed as simple Perl array refs. Likewise for the SACMediaList. This
> >| may change at some point if I realize that there is value in making
> >| those into objects, but for now it seems useless. If I change it, they
> >| will still be accessible as array refs.
> >
> >It would be consistent with the DOM if those lists are objects with
> >item() and getLength() methods.
> In the new Perl DOMs, NodeLists aren't objects either, just plain and
> simple arrayrefs.

That seems inconsistent with the DOM spec. How does it implement the live
aspects of NodeLists if it is an array?

Received on Tuesday, 20 March 2001 17:02:46 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:08 UTC