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 23356 - Consider making HTMLFieldSetElement.elements a plain HTMLCollection
Summary: Consider making HTMLFieldSetElement.elements a plain HTMLCollection
Status: RESOLVED WONTFIX
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: 2013-09-25 20:46 UTC by contributor
Modified: 2013-11-19 22:19 UTC (History)
3 users (show)

See Also:


Attachments

Description contributor 2013-09-25 20:46:36 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html
Multipage: http://www.whatwg.org/C#dom-fieldset-elements
Complete: http://www.whatwg.org/c#dom-fieldset-elements
Referrer: http://www.whatwg.org/specs/web-apps/current-work/multipage/

Comment:
Consider making HTMLFieldSetElement.elements a plain HTMLCollection

Posted from: 87.64.237.177 by ms2ger@gmail.com
User agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20130609 Firefox/24.0
Comment 2 Ian 'Hixie' Hickson 2013-09-25 20:55:22 UTC
The only difference between the spec and this would be dropping support for setting radio button groups from the fieldset elements list using fieldset.elements.foo.value, right? You'd have to instead do fieldset.form.elements.foo.value, and it would only work if you had a form and the fieldset was all in the form and so on?
Comment 3 Ian 'Hixie' Hickson 2013-09-26 18:19:24 UTC
Based on IRC conversation, I think the answer to comment 2 is "yes".
Comment 4 Ian 'Hixie' Hickson 2013-11-13 21:08:13 UTC
Not sure what that logbot link is supposed to show.

The live dom viewer tests shows Safari/Chrome use HTMLFormControlsCollection, IE doesn't even have .elements, and Firefox does HTMLCollection.

I don't see why we wouldn't want to do the radio button thing in fieldsets.

Based on the above, I'm leaning towards WONTFIX. Is there any further information I should consider?
Comment 5 Ian 'Hixie' Hickson 2013-11-19 22:19:19 UTC
Marking WONTFIX per comment 4; please reopen if you disagree.