return mControls->IndexOfControl(aControl, aIndex);
*aIndex = mElements.IndexOf(aControl);  return NS_OK;
nsHTMLFormElement::IndexOfControl(nsIFormControl* aControl, PRInt32* aIndex){  NS_ENSURE_TRUE(mControls, NS_ERROR_FAILURE);  return mControls->IndexOfControl(aControl, aIndex);}