val->SetIdent(variant); } else { val->SetIdent(nsLayoutAtoms::normal);
val->SetString(variant); } else { val->SetString("");
nsComputedDOMStyle::GetFontVariant(nsIFrame *aFrame,                                   nsIDOMCSSValue** aValue){  nsROCSSPrimitiveValue* val = GetROCSSPrimitiveValue();  NS_ENSURE_TRUE(val, NS_ERROR_OUT_OF_MEMORY);  const nsStyleFont* font = nsnull;  GetStyleData(eStyleStruct_Font, (const nsStyleStruct*&)font, aFrame);  if (font && font->mFont.variant != NS_STYLE_FONT_VARIANT_NORMAL) {    const nsAFlatCString& variant=      nsCSSProps::SearchKeywordTable(font->mFont.variant,                                     nsCSSProps::kFontVariantKTable);    val->SetIdent(variant);  } else {    val->SetIdent(nsLayoutAtoms::normal);  }  return CallQueryInterface(val, aValue);}