aContent->SetAttr(kNameSpaceID_HTML, keyAtom, v, PR_FALSE);
aContent->SetAttr(kNameSpaceID_None, keyAtom, v, PR_FALSE);
nsHTMLFragmentContentSink::AddAttributes(const nsIParserNode& aNode,                                         nsIContent* aContent){  // Add tag attributes to the content attributes  nsAutoString k, v;  PRInt32 ac = aNode.GetAttributeCount();  for (PRInt32 i = 0; i < ac; i++) {    // Get upper-cased key    const nsAString& key = aNode.GetKeyAt(i);    k.Assign(key);    ToLowerCase(k);    nsIAtom*  keyAtom = NS_NewAtom(k);        if (NS_CONTENT_ATTR_NOT_THERE ==         aContent->GetAttr(kNameSpaceID_HTML, keyAtom, v)) {      // Get value and remove mandatory quotes      GetAttributeValueAt(aNode, i, v);      // Add attribute to content      aContent->SetAttr(kNameSpaceID_HTML, keyAtom, v, PR_FALSE);    }    NS_RELEASE(keyAtom);  }  return NS_OK;}