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

Re: Selectors API: Multiple elements with the same ID

From: Anne van Kesteren <annevk@opera.com>
Date: Sat, 27 Jan 2007 17:46:30 -0500
To: "Simon Pieters" <zcorpan@gmail.com>, "public-webapi@w3.org" <public-webapi@w3.org>
Message-ID: <op.tmttckd964w2qv@id-c0020.csail.mit.edu>

On Sat, 27 Jan 2007 13:18:15 -0500, Simon Pieters <zcorpan@gmail.com>  
wrote:
> Perhaps this case has to be defined explicitly. Should getAll() (or  
> whatever it ends up being called) catch only the first element when  
> there's an ID in the selector (not group of selectors), or would it  
> catch all elements that match the selector?

All, of course. Why would it be ambiguous?


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Saturday, 27 January 2007 22:46:42 GMT

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