On Wed, 07 Feb 2007 04:59:14 +0530, Martijn <[EMAIL PROTECTED]> wrote:

>
> On 2/7/07, Maciej Stachowiak <[EMAIL PROTECTED]> 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.

Because when you can do getElementBySelector('#foo,#bar,.baz') to pick the 
first 
one of these that appears, or getElementBySelector('body span *'), or 
something, 
you can't use gEBID ...

cheers

Chaals

-- 
Charles McCathieNevile, Opera Software: Standards Group
hablo español - je parle français - jeg lærer norsk
[EMAIL PROTECTED] Try Opera 9.1 http://opera.com

Reply via email to