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>  
> 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
Received on Saturday, 27 January 2007 22:46:42 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:22 UTC