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 12779 - Overload HTMLCollection.item() to support item(in DOMString name) - Implementations support it
Summary: Overload HTMLCollection.item() to support item(in DOMString name) - Implement...
Status: RESOLVED INVALID
Alias: None
Product: HTML WG
Classification: Unclassified
Component: LC1 HTML5 spec (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: ---
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: 2011-05-25 10:53 UTC by contributor
Modified: 2011-08-04 05:34 UTC (History)
5 users (show)

See Also:


Attachments

Description contributor 2011-05-25 10:53:05 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/complete.html
Section: http://www.whatwg.org/specs/web-apps/current-work/#htmlcollection-0

Comment:
Overload HTMLCollection.item() to support item(in DOMString name) -
Implementations support it

Posted from: 213.236.208.247 by lachlan.hunt@lachy.id.au
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:6.0a1) Gecko/20110524 Firefox/6.0a1
Comment 1 Lachlan Hunt 2011-05-25 10:58:59 UTC
After more testing, it seems that only IE has this behaviour.  Other browsers were simply always returning the first item, same as .item(0).  Here's a demo.


http://software.hixie.ch/utilities/js/live-dom-viewer/saved/1004

Resolving this invalid, since there's no reason for other browsers to copy IE's behaviour here.
Comment 2 Michael[tm] Smith 2011-08-04 05:34:20 UTC
mass-move component to LC1