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 12866 - HTMLSelectElement getter return types should be more specific
Summary: HTMLSelectElement getter return types should be more specific
Status: RESOLVED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: LC1 HTML5 spec (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-03 00:31 UTC by Cameron McCormack
Modified: 2011-08-15 04:09 UTC (History)
5 users (show)

See Also:


Attachments

Description Cameron McCormack 2011-06-03 00:31:23 UTC
HTMLOptionElement for the index getter and object for the name getter.
Comment 1 brunoais 2011-06-17 08:00:03 UTC
What do you mean? Can you be more specific? Give more info?
Comment 2 Cameron McCormack 2011-06-17 22:33:13 UTC
I mean: the index getter on HTMLSelectElement should be defined to return HTMLOptionElement, and the name getter on that interface should be defined to return object.
Comment 3 Michael[tm] Smith 2011-08-04 05:16:30 UTC
mass-move component to LC1
Comment 4 Ian 'Hixie' Hickson 2011-08-15 04:09:11 UTC
Note that namedItem is not a name getter on HTMLSelectElement.

Anyway, I've changed this to be consistent with HTMLOptionsElement.

EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Accepted
Change Description: see diff given below
Rationale: Concurred with reporter's comments.
Comment 5 contributor 2011-08-15 04:09:38 UTC
Checked in as WHATWG revision r6453.
Check-in comment: consistency with HTMLOptionsCollection
http://html5.org/tools/web-apps-tracker?from=6452&to=6453