Bug 565904 - "HTMLOptGroupElement and HTMLOptionElement are not form controls but are listed in nsIFormControl" [r=smaug]

This commit is contained in:
Mounir Lamouri 2010-05-27 06:51:00 -04:00
parent e8d689713a
commit 717325985e
4 changed files with 0 additions and 10 deletions

View File

@ -48,8 +48,6 @@ class nsFormSubmission;
enum FormControlsTypes {
NS_FORM_FIELDSET = 1,
NS_FORM_LABEL,
NS_FORM_OPTION,
NS_FORM_OPTGROUP,
NS_FORM_OUTPUT,
NS_FORM_SELECT,
NS_FORM_TEXTAREA,

View File

@ -2725,8 +2725,6 @@ nsGenericHTMLFormElement::IsLabelableControl() const
PRInt32 type = GetType();
return type != NS_FORM_FIELDSET &&
type != NS_FORM_LABEL &&
type != NS_FORM_OPTION &&
type != NS_FORM_OPTGROUP &&
type != NS_FORM_OBJECT;
}

View File

@ -202,8 +202,6 @@ ShouldBeInElements(nsIFormControl* aFormControl)
//
// NS_FORM_INPUT_IMAGE
// NS_FORM_LABEL
// NS_FORM_OPTION
// NS_FORM_OPTGROUP
return PR_FALSE;
}

View File

@ -224,10 +224,6 @@ EmbedContextMenuInfo::SetFormControlType(nsIDOMEventTarget *originalTarget)
break;
case NS_FORM_LABEL:
break;
case NS_FORM_OPTION:
break;
case NS_FORM_OPTGROUP:
break;
case NS_FORM_SELECT:
break;
case NS_FORM_TEXTAREA: