W3C home > Mailing lists > Public > www-style@w3.org > March 2001

Re: CSS::SAC

From: Robin Berjon <robin@knowscape.com>
Date: Sun, 04 Mar 2001 06:09:31 +0100
Message-Id: <4.1.20010304060812.00a8f238@mail.knowscape.net>
To: derhoermi@gmx.net (Bjoern Hoehrmann)
Cc: www-style@w3.org
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. However this is trivial to add, so given that it came up
I'll go ahead and add it right now.

Thanks for the feedback,

-- robin b.
Critic, n.: A person who boasts himself hard to please because nobody tries
to please him.
Received on Sunday, 4 March 2001 00:07:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:08 GMT