Closed Bug 306621 Opened 19 years ago Closed 13 years ago

remove option and optgroup from nsIFormControl?

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 565904

People

(Reporter: allan, Unassigned)

References

Details

(Keywords: helpwanted)

Attachments

(1 file)

NS_FORM_OPTION and NS_FORM_OPTGROUP are defined in nsIFormControl even though
neither nsHTMLOptionElement or nsHTMLOptGroupElement implement nsIFormControl.
So they are not used anywhere, except for one place in nsGenericHTMLFormElement
which is my bad, because they confused me.... and thus the reason for creating
this bug. Should we remove them?

I'll remove the uses in nsGenericHTMLFormElement in bug 306620.
Attached patch PatchSplinter Review
jst, thoughts?
Assignee: allan → general
Component: Form Manager → DOM
QA Contact: ian
It's not like its terribly important or takes up any "real" space, but it did
manage to confuse me.
Keywords: helpwanted
Assignee: general → nobody
QA Contact: ian → general
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: