rv = UnsetAttr(kNameSpaceID_HTML, nsHTMLAtoms::selected, PR_TRUE);
rv = UnsetAttr(kNameSpaceID_HTML, nsHTMLAtoms::disabled, PR_TRUE);
nsHTMLOptionElement::SetDisabled(PRBool aDisabled)                       {                                                                    nsresult rv = NS_OK;  nsHTMLValue empty(eHTMLUnit_Empty);  if (aDisabled) {    rv = SetHTMLAttribute(nsHTMLAtoms::disabled, empty, PR_TRUE);    if (NS_SUCCEEDED(rv)) {      nsIFormControlFrame* fcFrame = nsnull;      nsresult result = GetPrimaryFrame(fcFrame);      if (NS_SUCCEEDED(result) && (nsnull != fcFrame)) {        nsISelectControlFrame* selectFrame = nsnull;        result = fcFrame->QueryInterface(NS_GET_IID(nsISelectControlFrame),                                         (void **)&selectFrame);        if (NS_SUCCEEDED(result) && (nsnull != selectFrame)) {          selectFrame->OptionDisabled(this);        }      }    }  } else {    rv = UnsetAttr(kNameSpaceID_HTML, nsHTMLAtoms::selected, PR_TRUE);  }  return NS_OK;}