val->SetString(style);
val->SetIdent(style);
nsComputedDOMStyle::GetBorderStyleFor(PRUint8 aSide,                                      nsIFrame *aFrame,                                      nsIDOMCSSPrimitiveValue*& aValue){  nsROCSSPrimitiveValue* val=GetROCSSPrimitiveValue();  NS_ENSURE_TRUE(val, NS_ERROR_OUT_OF_MEMORY);  const nsStyleBorder* border = nsnull;  GetStyleData(eStyleStruct_Border, (const nsStyleStruct*&)border, aFrame);  if(border) {    const nsCString& style=      nsCSSProps::SearchKeywordTable(border->GetBorderStyle(aSide),                                     nsCSSProps::kBorderStyleKTable);    val->SetString(style);  }  else {    val->SetString("");  }  return val->QueryInterface(NS_GET_IID(nsIDOMCSSPrimitiveValue),                             (void **)&aValue);}