const nsStyleBackground* color = nsnull; GetStyleData(eStyleStruct_Background, (const nsStyleStruct*&)color, aFrame);
const nsStyleColor* color=nsnull; GetStyleData(eStyleStruct_Color, (const nsStyleStruct*&)color, aFrame);
nsComputedDOMStyle::GetBackgroundImage(nsIFrame *aFrame,                                       nsIDOMCSSValue** aValue){  nsROCSSPrimitiveValue* val = GetROCSSPrimitiveValue();  NS_ENSURE_TRUE(val, NS_ERROR_OUT_OF_MEMORY);  const nsStyleBackground* color = nsnull;  GetStyleData(eStyleStruct_Background, (const nsStyleStruct*&)color, aFrame);  if (color) {    if (color->mBackgroundFlags & NS_STYLE_BG_IMAGE_NONE) {      val->SetIdent(nsLayoutAtoms::none);    } else {      nsCOMPtr<nsIURI> uri;      if (color->mBackgroundImage) {        color->mBackgroundImage->GetURI(getter_AddRefs(uri));      }      val->SetURI(uri);    }  }  return CallQueryInterface(val, aValue);}