const nsStyleUserInterface* uiStyle = formFrame->GetStyleUserInterface();
const nsStyleUserInterface* uiStyle; formFrame->GetStyleData(eStyleStruct_UserInterface, (const nsStyleStruct *&)uiStyle);
nsHTMLSelectElement::HandleDOMEvent(nsPresContext* 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 = GetFormControlFrame(PR_FALSE);  nsIFrame* formFrame = nsnull;  if (formControlFrame &&      NS_SUCCEEDED(CallQueryInterface(formControlFrame, &formFrame)) &&      formFrame)  {    const nsStyleUserInterface* uiStyle = formFrame->GetStyleUserInterface();    if (uiStyle->mUserInput == NS_STYLE_USER_INPUT_NONE ||        uiStyle->mUserInput == NS_STYLE_USER_INPUT_DISABLED) {      return NS_OK;    }  }  // Must notify the frame that the blur event occurred  // NOTE: At this point EventStateManager has not yet set the  /// new content as having focus so this content is still considered  // the focused element. So the ComboboxControlFrame tracks the focus  // at a class level (Bug 32920)  if ((nsEventStatus_eIgnore == *aEventStatus) &&      !(aFlags & NS_EVENT_FLAG_CAPTURE) && !(aFlags & NS_EVENT_FLAG_SYSTEM_EVENT) &&      (aEvent->message == NS_BLUR_CONTENT) && formControlFrame) {    formControlFrame->SetFocus(PR_FALSE, PR_TRUE);  }  return nsGenericHTMLFormElement::HandleDOMEvent(aPresContext, aEvent,                                                  aDOMEvent, aFlags,                                                  aEventStatus);}