doc->AttributeWillChange(mContent, kNameSpaceID_None, nsHTMLAtoms::style); }  PRInt32 hint = NS_STYLE_HINT_NONE;
PRInt32 hint; decl->GetStyleImpact(&hint);
nsDOMCSSAttributeDeclaration::RemoveProperty(const nsAString& aPropertyName,                                             nsAString& aReturn){  nsCSSDeclaration* decl;  nsresult rv = GetCSSDeclaration(&decl, PR_TRUE);  if (NS_SUCCEEDED(rv) && decl && mContent) {    nsCOMPtr<nsIDocument> doc;    mContent->GetDocument(*getter_AddRefs(doc));    if (doc) {      doc->BeginUpdate();      doc->AttributeWillChange(mContent, kNameSpaceID_None,                               nsHTMLAtoms::style);    }    PRInt32 hint = NS_STYLE_HINT_NONE;    nsCSSProperty prop = nsCSSProps::LookupProperty(aPropertyName);    nsCSSValue val;    rv = decl->RemoveProperty(prop, val);    if (NS_SUCCEEDED(rv)) {      // We pass in eCSSProperty_UNKNOWN here so that we don't get the      // property name in the return string.      val.ToString(aReturn, eCSSProperty_UNKNOWN);      hint = nsCSSProps::kHintTable[prop];    } else {      // If we tried to remove an invalid property or a property that wasn't      //  set we simply return success and an empty string      rv = NS_OK;    }    if (doc) {      doc->AttributeChanged(mContent, kNameSpaceID_None, nsHTMLAtoms::style,                            nsIDOMMutationEvent::MODIFICATION,                             hint);      doc->EndUpdate();    }  }  return rv;}