return mInner.HandleDOMEvent(aPresContext, aEvent, aDOMEvent,
{   if (!(NS_EVENT_FLAG_INIT & aFlags)) { if (!*aDOMEvent) {  nsCOMPtr<nsIEventListenerManager> listenerManager; if (NS_FAILED(rv = mInner.GetListenerManager(getter_AddRefs(listenerManager)))) { return rv; } nsAutoString empty; if (NS_FAILED(rv = listenerManager->CreateEvent(aPresContext, aEvent, empty, aDOMEvent))) { return rv; } } if (!*aDOMEvent) { return NS_ERROR_FAILURE; } nsCOMPtr<nsIPrivateDOMEvent> privateEvent = do_QueryInterface(*aDOMEvent); if (!privateEvent) { return NS_ERROR_FAILURE; }  nsCOMPtr<nsIDOMEventTarget> target = do_QueryInterface((nsIDOMHTMLTextAreaElement*)this); privateEvent->SetTarget(target); } }  rv = mInner.HandleDOMEvent(aPresContext, aEvent, aDOMEvent,
nsHTMLTextAreaElement::HandleDOMEvent(nsIPresContext* aPresContext,                                      nsEvent* aEvent,                                      nsIDOMEvent** aDOMEvent,                                      PRUint32 aFlags,                                      nsEventStatus* aEventStatus){  // Do not process any DOM events if the element is disabled  PRBool disabled;  nsresult rv = GetDisabled(&disabled);  if (NS_FAILED(rv) || disabled) {    return rv;  }  nsIFormControlFrame* formControlFrame = nsnull;  rv = nsGenericHTMLElement::GetPrimaryFrame(this, formControlFrame);  nsIFrame* formFrame = nsnull;  if (formControlFrame && NS_SUCCEEDED(formControlFrame->QueryInterface(kIFrameIID, (void **)&formFrame)) && formFrame)  {    const nsStyleUserInterface* uiStyle;    formFrame->GetStyleData(eStyleStruct_UserInterface, (const nsStyleStruct *&)uiStyle);    if (uiStyle->mUserInput == NS_STYLE_USER_INPUT_NONE ||        uiStyle->mUserInput == NS_STYLE_USER_INPUT_DISABLED)    {      return NS_OK;    }  }  return mInner.HandleDOMEvent(aPresContext, aEvent, aDOMEvent,                               aFlags, aEventStatus);}