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

nsGenericHTMLElement
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@179190 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cbiesinger%web.de 2005-08-29 11:06:19 +00:00
parent 49d604fd8a
commit 36b464860c

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