This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
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
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.