mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
Bug 306260 call methods of the direct base class, instead of
nsGenericHTMLElement r+sr=bz
This commit is contained in:
parent
cad58c28dd
commit
5f30ec027c
@ -175,7 +175,7 @@ nsHTMLObjectElement::GetForm(nsIDOMHTMLFormElement** aForm)
|
||||
PRBool
|
||||
nsHTMLObjectElement::IsFocusable(PRInt32 *aTabIndex)
|
||||
{
|
||||
if (!nsGenericHTMLElement::IsFocusable(aTabIndex)) {
|
||||
if (!nsGenericHTMLFormElement::IsFocusable(aTabIndex)) {
|
||||
return PR_FALSE;
|
||||
}
|
||||
if (aTabIndex && (sTabFocusModel & eTabFocus_formElementsMask) == 0) {
|
||||
@ -302,7 +302,7 @@ nsHTMLObjectElement::ParseAttribute(nsIAtom* aAttribute,
|
||||
return PR_TRUE;
|
||||
}
|
||||
|
||||
return nsGenericHTMLElement::ParseAttribute(aAttribute, aValue, aResult);
|
||||
return nsGenericHTMLFormElement::ParseAttribute(aAttribute, aValue, aResult);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user