[whatwg] Section 2.7.2.1 (HTMLCollection) question
Perry Smith
pedzsan at gmail.com
Sat Apr 3 07:59:27 PDT 2010
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20100403/d6131988/attachment-0001.htm>
More information about the whatwg
mailing list