nsHTMLLinkElement::SetHref(const nsAString& aValue) {   mLinkState = eLinkState_Unknown;  nsresult rv = nsGenericHTMLLeafElement::SetAttr(kNameSpaceID_None, nsHTMLAtoms::href, aValue, PR_TRUE); if (NS_SUCCEEDED(rv)) { UpdateStyleSheet(); } return rv; }
NS_IMPL_URI_ATTR(nsHTMLLinkElement, Href, href)
nsHTMLLinkElement::SetHref(const nsAString& aValue){  // Clobber our "cache", so we'll recompute it the next time  // somebody asks for it.  mLinkState = eLinkState_Unknown;  nsresult rv = nsGenericHTMLLeafElement::SetAttr(kNameSpaceID_None,                                                  nsHTMLAtoms::href, aValue,                                                  PR_TRUE);  if (NS_SUCCEEDED(rv)) {    UpdateStyleSheet();  }  return rv;}