aDeclaration->AddValue(aName, nsCSSValue(aNumber, units));
aDeclaration->AppendValue(aName, nsCSSValue(aNumber, units));
PRBool CSSParserImpl::TranslateLength(nsICSSDeclaration* aDeclaration,                                      const char* aName,                                      float aNumber,                                      const nsString& aDimension){  nsCSSUnit units;  if (0 != aDimension.Length()) {    char cbuf[50];    aDimension.ToCString(cbuf, sizeof(cbuf));    PRInt32 id = nsCSSKeywords::LookupName(cbuf);    switch (id) {    case KEYWORD_EM:  units = eCSSUnit_EM; break;    case KEYWORD_EX:  units = eCSSUnit_XHeight; break;    case KEYWORD_PX:  units = eCSSUnit_Pixel; break;    case KEYWORD_IN:  units = eCSSUnit_Inch; break;    case KEYWORD_CM:  units = eCSSUnit_Centimeter; break;    case KEYWORD_MM:  units = eCSSUnit_Millimeter; break;    case KEYWORD_PT:  units = eCSSUnit_Point; break;    case KEYWORD_PC:  units = eCSSUnit_Pica; break;    default:      // unknown dimension      return PR_FALSE;    }  } else {    // Must be a zero number...    units = eCSSUnit_Point;  }  aDeclaration->AddValue(aName, nsCSSValue(aNumber, units));  return PR_TRUE;}