This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 9112 - item/namedItem should return HTMLElement or Element
Summary: item/namedItem should return HTMLElement or Element
Status: RESOLVED WONTFIX
Alias: None
Product: HTML WG
Classification: Unclassified
Component: pre-LC1 HTML5 spec (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: LC
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-22 02:22 UTC by contributor
Modified: 2010-10-04 14:56 UTC (History)
5 users (show)

See Also:


Attachments

Description contributor 2010-02-22 02:22:58 UTC
Section: http://www.whatwg.org/specs/web-apps/current-work/#htmlcollection

Comment:
item/namedItem should return HTMLElement or Element

Posted from: 220.109.219.244
Comment 1 Ms2ger 2010-02-22 13:16:45 UTC
This is impossible, because HTMLOptionsCollection, HTMLFormControlsCollection and HTMLAllCollection need to return a NodeList, a RadioNodeList or an HTMLAllCollection, respectively, if there's more than one matching element for legacy reasons.