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 18503 - setter creator on HTMLSelectElement/HTMLOptionsCollection should take a nullable HTMLOptionElement
Summary: setter creator on HTMLSelectElement/HTMLOptionsCollection should take a nulla...
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-08 17:03 UTC by contributor
Modified: 2012-08-23 22:41 UTC (History)
3 users (show)

See Also:


Attachments

Description contributor 2012-08-08 17:03:03 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-button-element.html
Multipage: http://www.whatwg.org/C#htmlselectelement
Complete: http://www.whatwg.org/c#htmlselectelement

Comment:
setter creator on HTMLSelectElement/HTMLOptionsCollection should take a
nullable HTMLOptionElement

Posted from: 91.181.148.24 by ms2ger@gmail.com
User agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Firefox/17.0
Comment 1 Ms2ger 2012-08-08 17:04:17 UTC
(I got this broken in Gecko, and got <https://bugzilla.mozilla.org/show_bug.cgi?id=780993> for it.)
Comment 2 contributor 2012-08-23 22:41:17 UTC
Checked in as WHATWG revision r7262.
Check-in comment: Fix the setter/getter on HTMLSelectElement and HTMLOptionsCollection to take null, and fix HTMLOptionsCollection.remove() to do the right thing with out of range numbers (note that according to Web IDL, all non-integer values turn to 0).
http://html5.org/tools/web-apps-tracker?from=7261&to=7262