mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 565904 - "HTMLOptGroupElement and HTMLOptionElement are not form controls but are listed in nsIFormControl" [r=smaug]
This commit is contained in:
parent
e8d689713a
commit
717325985e
@ -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,
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -202,8 +202,6 @@ ShouldBeInElements(nsIFormControl* aFormControl)
|
||||
//
|
||||
// NS_FORM_INPUT_IMAGE
|
||||
// NS_FORM_LABEL
|
||||
// NS_FORM_OPTION
|
||||
// NS_FORM_OPTGROUP
|
||||
|
||||
return PR_FALSE;
|
||||
}
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user