From [1]
The namedItem(key) method must return the first node in the
collection that matches the following requirements:
It is an a, applet, area, embed, form, frame, frameset, iframe, img,
or object element with a name attribute equal to key, or,
It is an element with an ID equal to key.
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.
Also, off topic a little: should these questions be posted here or is
it more productive to use the form on the page?
[1]
http://www.whatwg.org/specs/web-apps/current-work/multipage/urls.html#htmlcollection-0
Thank you,
Perry