[whatwg] Section 220.127.116.11 (HTMLCollection) question
pedzsan at gmail.com
Sat Apr 3 07:59:27 PDT 2010
> 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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the whatwg