W3C home > Mailing lists > Public > public-html@w3.org > April 2009

Re: document[id] and document.id to <element id="id"> matching

From: Anne van Kesteren <annevk@opera.com>
Date: Tue, 07 Apr 2009 00:25:03 +0200
To: "Michael A. Puls II" <shadow2531@gmail.com>, public-html@w3.org
Message-ID: <op.urzkj1vj64w2qv@annevk-t60.oslo.opera.com>
On Tue, 07 Apr 2009 00:17:10 +0200, Michael A. Puls II  
<shadow2531@gmail.com> wrote:
> Is that what you mean?

The order is not relevant, the amount of elements returned is. If  
document[name] matches a single element that happens to be an <iframe>  
then you'd return the global object the <iframe> holds. Otherwise you just  
return the HTMLCollection of the matched elements.

Anne van Kesteren
Received on Monday, 6 April 2009 22:25:47 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:44 UTC