res = nsEditor::GetBodyElement(getter_AddRefs(bodyElement));
res = nsEditor::GetRootElement(getter_AddRefs(bodyElement));
NS_IMETHODIMP nsHTMLEditor::SetBodyAttribute(const nsString& aAttribute, const nsString& aValue){  nsresult res;  // TODO: Check selection for Cell, Row, Column or table and do color on appropriate level  NS_ASSERTION(mDocWeak, "Missing Editor DOM Document");    // Set the background color attribute on the body tag  nsCOMPtr<nsIDOMElement> bodyElement;  res = nsEditor::GetBodyElement(getter_AddRefs(bodyElement));  if (!bodyElement) res = NS_ERROR_NULL_POINTER;  if (NS_SUCCEEDED(res))  {    // Use the editor method that goes through the transaction system    res = SetAttribute(bodyElement, aAttribute, aValue);  }  return res;}