<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">From [1]<br><blockquote type="cite"><p>The <dfn id="dom-htmlcollection-nameditem" title="dom-HTMLCollection-namedItem"><code>namedItem(<var title="">key</var>)</code></dfn>
method must return the first node
in the collection that matches the following requirements:</p>
<ul><li>It is an <code><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-a-element">a</a></code>,
<code><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#the-applet-element">applet</a></code>,
<code><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-map-element.html#the-area-element">area</a></code>,
<code><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-iframe-element.html#the-embed-element">embed</a></code>,
<code><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#the-form-element">form</a></code>,
<code><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#frame">frame</a></code>,
<code><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#frameset">frameset</a></code>,
<code><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-iframe-element.html#the-iframe-element">iframe</a></code>,
<code><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/embedded-content-1.html#the-img-element">img</a></code>,
or <code><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-iframe-element.html#the-object-element">object</a></code>
element with a <code title="">name</code> attribute equal to <var title="">key</var>,
or,</li>
<li>It is an element with an <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html#concept-id" title="concept-id">ID</a>
equal to <var title="">key</var>.</li></ul></blockquote><br><div>Should "equal" be clarified? In particular, from 2.4.9, I got the idea that comparing names would be "compatibility caseless" at least in that instance. Is that also true here? I don't see the term "valid hash-name reference" in this section so I don't think I missed something but I easily could have.</div><div><br></div><div>Also, off topic a little: should these questions be posted here or is it more productive to use the form on the page?</div><div><br></div><div>[1] <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/urls.html#htmlcollection-0">http://www.whatwg.org/specs/web-apps/current-work/multipage/urls.html#htmlcollection-0</a></div><div><br></div><div>Thank you,</div><div>Perry</div><div><br></div></body></html>