aDeclaration->AddValue(kBackgroundNames[0], nsCSSValue(NS_STYLE_BG_COLOR_TRANSPARENT, eCSSUnit_Enumerated));
aDeclaration->AppendValue(kBackgroundNames[0], nsCSSValue(NS_STYLE_BG_COLOR_TRANSPARENT, eCSSUnit_Enumerated));
PRBool CSSParserImpl::ParseBackground(PRInt32* aErrorCode, nsICSSDeclaration* aDeclaration){  static const char* kBackgroundNames[] = {    "background-color",    "background-image",    "background-repeat",    "background-attachment",    "background-position",    "background-filter",  };  PRInt32 found = ParseChoice(aErrorCode, aDeclaration, kBackgroundNames, 6);  if (0 == found) {    return PR_FALSE;  }  // Provide missing values  if ((found & 1) == 0) {    aDeclaration->AddValue(kBackgroundNames[0],                            nsCSSValue(NS_STYLE_BG_COLOR_TRANSPARENT,                                      eCSSUnit_Enumerated));  }  if ((found & 2) == 0) {    aDeclaration->AddValue(kBackgroundNames[1],                            nsCSSValue(NS_STYLE_BG_IMAGE_NONE,                                      eCSSUnit_Enumerated));  }  if ((found & 4) == 0) {    aDeclaration->AddValue(kBackgroundNames[2],                            nsCSSValue(NS_STYLE_BG_REPEAT_XY,                                      eCSSUnit_Enumerated));  }  if ((found & 8) == 0) {    aDeclaration->AddValue(kBackgroundNames[3],                            nsCSSValue(NS_STYLE_BG_ATTACHMENT_SCROLL,                                      eCSSUnit_Enumerated));  }  if ((found & 16) == 0) {    aDeclaration->AddValue("background-x-position", nsCSSValue(0.0f, eCSSUnit_Percent));    aDeclaration->AddValue("background-y-position", nsCSSValue(0.0f, eCSSUnit_Percent));  }  // XXX Note: no default for filter (yet)  return PR_TRUE;}