nsComputedDOMStyle::GetPropertyCSSValue(const nsString& aPropertyName,
nsComputedDOMStyle::GetPropertyCSSValue(const nsAReadableString& aPropertyName,
nsComputedDOMStyle::GetPropertyCSSValue(const nsString& aPropertyName,                                        nsIDOMCSSValue** aReturn){  NS_ENSURE_ARG_POINTER(aReturn);  *aReturn = nsnull;  nsIFrame *frame = nsnull;  mPresShell->GetPrimaryFrameFor(mContent, &frame);  nsCOMPtr<nsIDOMCSSPrimitiveValue> val;  nsresult rv = NS_OK;  nsCSSProperty prop = nsCSSProps::LookupProperty(aPropertyName);  switch (prop) {  case eCSSProperty_behavior :    rv = GetBehavior(frame, *getter_AddRefs(val)); break;  case eCSSProperty_display :    rv = GetDisplay(frame, *getter_AddRefs(val)); break;  case eCSSProperty_width :    rv = GetWidth(frame, *getter_AddRefs(val)); break;  case eCSSProperty_height :    rv = GetHeight(frame, *getter_AddRefs(val)); break;  case eCSSProperty_left :    rv = GetLeft(frame, *getter_AddRefs(val)); break;  case eCSSProperty_top :    rv = GetTop(frame, *getter_AddRefs(val)); break;  case eCSSProperty_right :    rv = GetRight(frame, *getter_AddRefs(val)); break;  case eCSSProperty_bottom :    rv = GetBottom(frame, *getter_AddRefs(val)); break;  default :    break;  }  if (val) {    rv = val->QueryInterface(NS_GET_IID(nsIDOMCSSValue), (void **)aReturn);  }  return rv;}