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 18:06:00 -0500
To: "Bjoern Hoehrmann" <derhoermi@gmx.net>, "Simon Pieters" <zcorpan@gmail.com>
Cc: "public-webapi@w3.org" <public-webapi@w3.org>
Message-ID: <op.tmt44au264w2qv@id-c0020.nomadprime.subscribe.loganwifi.com>

On Sat, 27 Jan 2007 13:30:58 -0500, Bjoern Hoehrmann <derhoermi@gmx.net>  
> This is out of scope of the document. The method would return all
> elements that match the selector. When an element matches a selector
> is defined by the CSS Selectors specification. If that specification
> is unclear about this case, that's for the CSS WG to address. All
> the API specification could usefully say is how getElementById(...)
> compares to the method that returns a single element if we are to
> keep that method, since the behavior of the two may be different.

Yes, they are prolly slightly different (although I haven't actually seen  
any documentation on how getElementById exactly works). Do you have any  
proposed text? Or should we wait until it's clear how getElementById  
really works?

Anne van Kesteren
Received on Saturday, 27 January 2007 23:07:22 UTC

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