NS_IMPL_STRING_ATTR(nsHTMLAreaElement, Href, href)
nsHTMLAreaElement::GetHref(nsString& aValue) {  nsresult rv = NS_OK;   nsAutoString relURLSpec; mInner.GetAttribute(kNameSpaceID_None, nsHTMLAtoms::href, relURLSpec);  if (relURLSpec.Length()) {  nsCOMPtr<nsIURI> baseURL; mInner.GetBaseURL(*getter_AddRefs(baseURL));  if (baseURL) {  nsXPIDLCString absURI; NS_MakeAbsoluteURIWithCharset(getter_Copies(absURI), relURLSpec, mInner.mDocument, baseURL, nsHTMLUtils::IOService, nsHTMLUtils::CharsetMgr); aValue.AssignWithConversion(absURI); } else {  aValue = relURLSpec; } }  return rv; }
NS_IMPL_STRING_ATTR(nsHTMLAreaElement, Href, href)