Bug 306260 call methods of the direct base class, instead of

nsGenericHTMLElement
r+sr=bz
This commit is contained in:
cbiesinger%web.de 2005-08-29 11:06:19 +00:00
parent cad58c28dd
commit 5f30ec027c

View File

@ -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