W3C home > Mailing lists > Public > public-webapi@w3.org > February 2007

Re: Proposal: getElementsBySelector()

From: Martijn <martijn.martijn@gmail.com>
Date: Wed, 7 Feb 2007 00:29:14 +0100
Message-ID: <6c97b8b10702061529p43d759bet1d0d2b5809dc910c@mail.gmail.com>
To: "Maciej Stachowiak" <mjs@apple.com>
Cc: "Web API WG (public)" <public-webapi@w3.org>

On 2/7/07, Maciej Stachowiak <mjs@apple.com> wrote:
> Is there a major benefit to having a single method that outweighs the
> performance considerations? I think we should have a better reason for
> deciding this than "we feel like it".

I don't see why a getElementBySelector is necessary when there is
alreay getElementById, which one should use if performance is an
issue.
So for me it's not a "I feel like it", but rather the other way around.

Regards,
Martijn

> Adding list back to Cc, I assume it was omitted by accident.
>
> Regards,
> Maciej
>
>
>
>
>
>
>


-- 
Martijn Wargers
Help Mozilla!
http://weblogs.mozillazine.org/qa/
http://www.mozilla.org/contribute/
Received on Tuesday, 6 February 2007 23:29:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:57 GMT