- From: Charles McCathieNevile <chaals@opera.com>
- Date: Thu, 08 Feb 2007 12:58:49 +0530
- To: Martijn <martijn.martijn@gmail.com>, "Web API public" <public-webapi@w3.org>
On Wed, 07 Feb 2007 04:59:14 +0530, Martijn <martijn.martijn@gmail.com> wrote: > > 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. 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 chaals@opera.com Try Opera 9.1 http://opera.com
Received on Thursday, 8 February 2007 07:29:12 UTC