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 {
|
enum FormControlsTypes {
|
||||||
NS_FORM_FIELDSET = 1,
|
NS_FORM_FIELDSET = 1,
|
||||||
NS_FORM_LABEL,
|
NS_FORM_LABEL,
|
||||||
NS_FORM_OPTION,
|
|
||||||
NS_FORM_OPTGROUP,
|
|
||||||
NS_FORM_OUTPUT,
|
NS_FORM_OUTPUT,
|
||||||
NS_FORM_SELECT,
|
NS_FORM_SELECT,
|
||||||
NS_FORM_TEXTAREA,
|
NS_FORM_TEXTAREA,
|
||||||
|
@ -2725,8 +2725,6 @@ nsGenericHTMLFormElement::IsLabelableControl() const
|
|||||||
PRInt32 type = GetType();
|
PRInt32 type = GetType();
|
||||||
return type != NS_FORM_FIELDSET &&
|
return type != NS_FORM_FIELDSET &&
|
||||||
type != NS_FORM_LABEL &&
|
type != NS_FORM_LABEL &&
|
||||||
type != NS_FORM_OPTION &&
|
|
||||||
type != NS_FORM_OPTGROUP &&
|
|
||||||
type != NS_FORM_OBJECT;
|
type != NS_FORM_OBJECT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -202,8 +202,6 @@ ShouldBeInElements(nsIFormControl* aFormControl)
|
|||||||
//
|
//
|
||||||
// NS_FORM_INPUT_IMAGE
|
// NS_FORM_INPUT_IMAGE
|
||||||
// NS_FORM_LABEL
|
// NS_FORM_LABEL
|
||||||
// NS_FORM_OPTION
|
|
||||||
// NS_FORM_OPTGROUP
|
|
||||||
|
|
||||||
return PR_FALSE;
|
return PR_FALSE;
|
||||||
}
|
}
|
||||||
|
@ -224,10 +224,6 @@ EmbedContextMenuInfo::SetFormControlType(nsIDOMEventTarget *originalTarget)
|
|||||||
break;
|
break;
|
||||||
case NS_FORM_LABEL:
|
case NS_FORM_LABEL:
|
||||||
break;
|
break;
|
||||||
case NS_FORM_OPTION:
|
|
||||||
break;
|
|
||||||
case NS_FORM_OPTGROUP:
|
|
||||||
break;
|
|
||||||
case NS_FORM_SELECT:
|
case NS_FORM_SELECT:
|
||||||
break;
|
break;
|
||||||
case NS_FORM_TEXTAREA:
|
case NS_FORM_TEXTAREA:
|
||||||
|
Loading…
Reference in New Issue
Block a user